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/