|
window mobile always use sql ce not sql and the database should be in .sdf format.
if u want to use .mdf file to connect to your mobile.then you have to use webservice.
In window mobile connection string should be..
string conn ="Program Files//database.sdf";
deploy your application to your mobile..connecting with active sync.
|
|
|
|
|
Hi guys,
I have tried many times to download the SDK from blackberry, but it seems after a while it times out and i have only downloaded aboiut 80%.i have tried google but only can find it at the same blackberry site.
my buddy also tried with same result.
any suggestions?
thanks
|
|
|
|
|
Did you notify the administrators of the Blackberry site of your problem?
I must get a clever new signature for 2011.
|
|
|
|
|
Hi
Yes, i did!
sent them a screen-shot of the error.
thanks
|
|
|
|
|
hi
i have Windows-mobile program that connect to my WebService.
how to check if there is connection from my Windows-mobile to my WebService ?
Except of using `try` and `catch`......
thanks in advance
|
|
|
|
|
7-zip's lza.exe would be perfect except there isn't a CE 6.0 version.
(Yes, we are currently rolling our own from zlib, but I've found that the latest z-lib has all sorts of problems and it would probably be cheaper just to buy something.)
|
|
|
|
|
Hi All,
I'm busy messing around with some live wallpaper code and i was wondering if it is possible
to scale text to fit a certain rect. Reason is that not all Android screens are the same, so
what looks nice on certain size screens looks horrible on others.
I have noticed that you can use the getTextBounds method to get a boundary rect of a given string
and its TextSize. So you could possibly cycle through a Textsize range (100 downto 10 or whatever)
and compare its textbound rect to the rectangle you want to fit the text in, to see if they are the same or
slightly smaller. That said, this method looks extremely long winded and messy.
Is there a better way, i do not want to use a textview.
Ideally i just want to be able to know for example in rect (0, 0, 100, 50) i can fit the string "Hello World"
perfectly with textsize 15 (i made that number up :P)
Many thanks,
Tim
|
|
|
|
|
Hi Experts
How can i send multiple(different number) SMS through code? Code is here..
public class sms extends Activity {
private static final String View = null;
boolean b;
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
try {
sendSMS(Numbert, Message);
Toast.makeText(sms.this, "SMS Sent", Toast.LENGTH_LONG).show();
} catch (Exception e) {
}
}
public void sendSMS(String number, String msg) throws Exception {
{
for(int i=0;i<10;i++)
{
SmsManager sms = SmsManager.getDefault();
TelephonyManager telemngr = (TelephonyManager) getSystemService(TELEPHONY_SERVICE);
sms.sendTextMessage("01234555", null, "Test Message", null, null);
}
}
|
|
|
|
|
What exactly you want.. you code already seen good, are you getting any error?
Pavan Pareta
|
|
|
|
|
Thanks for reply
No i am not getting any error.
But when i send message on more than one number,then some time code fail.I mean message not send successfully.
So my question is that if my code is good then
1) Why not send successfully 100%
2) Or Any other option to send multiple sms
|
|
|
|
|
Are you sure you want to create SmsManager and TelephonyManager objects inside loop?
Also, is it for android? If so, you can try to use sentIntent to check if sending was successfull or reason of failure for your messages.
--
"My software never has bugs. It just develops random features."
|
|
|
|
|
thanks for reply
It doesn't matter for where i create SmsManager and TelephonyManager.I wont only one thing send sms 100% successfully from my side.
If you have any idea then please give me tips or example
Thanks in advance
|
|
|
|
|
MsmVc wrote: one thing send sms 100% successfully from my side.
If you mean one single function call that will always work, then you can't do it. Using cellular communications inherently contains the possibility of failure due to glitches in signal strength, visibility of nodes, interference, ... The best you can do is put a reasonable number of retries in your code to handle the failure case.
Judy
Be wary of strong drink. It can make you shoot at tax collectors - and miss.
Lazarus Long, "Time Enough For Love" by Robert A. Heinlein
|
|
|
|
|
Thanks for valuable response
Can you give me some example code?
Please help me
|
|
|
|
|
please help me somebody...
|
|
|
|
|
use my previous suggestion to add some retries ... you had code in your very first post - simply check the return value and retry if it returns an error
Judy
Be wary of strong drink. It can make you shoot at tax collectors - and miss.
Lazarus Long, "Time Enough For Love" by Robert A. Heinlein
|
|
|
|
|
Hello,
I am VC++/MFC developer. I have been working in C++ now from good time. I know Java a bit. I wanted to start programming Andriod phone. Can you suggest me any book like Andriod programming with C++. Also I wanted to know good IDE and prerequisite for Andriod programming.
|
|
|
|
|
A simple Google search yields this[^] as a starting point.
I must get a clever new signature for 2011.
|
|
|
|
|
I know that. Problem is I am almost getting everything related to Java. I wanted Andriod programming with C++.
So articles even attempt to say that if I wanted to be a professional Andriod developer I should start working in Java. Is it true?
|
|
|
|
|
Pranit Kothari wrote: I wanted Andriod programming with C++.
I think Android is based on Java VM so you will be better off learning Java for your development.
I must get a clever new signature for 2011.
|
|
|
|
|
You might try searching for Android NDK tutorials[^].
Basically C++ development on android is achieved via JNI. You still have to code you basic android.. framework code in Java, but the application functionality (logic?) can be done in C++ using the NDK (Native Development Kit, IIRC)
"It was when I found out I could make mistakes that I knew I was on to something."
-Ornette Coleman
"Philosophy is a study that lets us be unhappy more intelligently."
-Anon.
|
|
|
|
|
Try this one http://www.mosync.com/
And also check this tread http://www.codeproject.com/Articles/149715/MonoDroid-Part-1-Installation.aspx
|
|
|
|
|
how we develop mobile site of our existing site and from which software and framework we can develop it.
I have a site in core php and want to develop its mobile site.
|
|
|
|
|
AFAIK, smart-phone web-browsers support xhtml and javascript
Last I worked on something like that I dug into WAP/WML[^].
I hope this helps
"It was when I found out I could make mistakes that I knew I was on to something."
-Ornette Coleman
"Philosophy is a study that lets us be unhappy more intelligently."
-Anon.
|
|
|
|
|
I am porting an application from CE 4.x to CE 6.0
It all went quite smoothly, but there is one problem. The application uses an external library build for CE4.0, so when the compiler tries to link to that library I initialy got the error:
fatal error LNK1104: cannot open file 'mfcs42.lib'
What I did is I added the directory with these CE4.0 libraries to the directories the compiler should search for libs and build again, which got me to the next problem:
error LNK2005: "public: void __cdecl CRect::InflateRect(int,int,int,int)" (?InflateRect@CRect@@QAAXHHHH@Z) already defined in MFCCE400.lib(mfcce400.dll) atlsd.lib
error LNK2005: "public: void __cdecl CRect::DeflateRect(int,int,int,int)" (?DeflateRect@CRect@@QAAXHHHH@Z) already defined in MFCCE400.lib(mfcce400.dll) atlsd.lib
fatal error LNK1169: one or more multiply defined symbols found SDK_TR4_CE6_MAXIE_2008Q1
The InflateRect and DeflateRect functions apparantly are both defined in the MFCE400.lib(CE4) and in the atlsd.lib(CE6). Both these functions are called in my application which builds fine without that external library, so my application does not need that CE4 library. From the moment I add the code that uses that external library I get into this problem. So my question is: How can I link to that external library without getting in this trouble? Or how can I make the compiler only link the external lib to the CE4 libs and not use these libs for my application?
Thanks for any insight you might provide.
Regards,
Davy
|
|
|
|