Hi,
I had the same problem developping on a Palm Tungsten|W, and the solution was the use of the function defined in the palmOne SDK v3.0's sample code. You can find it on pluggedin.palmone.com, but I can send you if you want to. As I experienced, this doesn't resolve fully this problem, but the error popup appears very-very rarely. :-)
Csongor
From: "ice wu" <[EMAIL PROTECTED]> Reply-To: "Palm Developer Forum" <[EMAIL PROTECTED]> To: "Palm Developer Forum" <[EMAIL PROTECTED]> Subject: how can i turn on the mobile by Telephony Manager APIs Date: Thu, 20 May 2004 16:11:28 +0800
Hi all,
I am developing an application that needs to turn on the mobile(if it is
off.) on palm device. I use the APIs in the Telephony Manager to do this
work. The APIs called are just as following:
1. call SysLibLoad(kTelMgrDatabaseType, kTelMgrDatabaseCreator,
telRefNumP) to load the Telephony Manager Library if it has not been loaded.
2. call TelOpen(...).
3. call TelIsPowServiceAvailable(...) to check if the power service is
available.
4. call the TelPowSetPhonePower(...) to set the phone power on.
The TelPowSetPhonePower(...) returns errNone which means this function
is successful. But after the TelPowSetPhonePower(...) returned, the Palm OS
popup a mobile error dialog with the error information "SIM was not found.
Check that the SIM is inserted properly and the door is closed.(Tel 2F11)".
I check the SIM card and it is OK. Another way, the mobile can be turned on
by the mobile app contained in the palm os itself.
Could you please tell me why it always popup the error dialog after call
TelPowSetPhonePower(...) and how can i deal with it to launch the mobile
successfully?
Thank you very much.
Best Regards,
Ice
--
For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
_________________________________________________________________
Add photos to your messages with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail
-- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
