-Benjamin Bloomfield
On 3/16/06, Douglas Handy <[EMAIL PROTECTED]> wrote:
Benjamin,
>// Turn phone radio on, because otherwise it can't get the phone number
>if(PhnLibModulePowered(smsLibRef) == phnPowerOff)
> PhnLibSetModulePower(smsLibRef, true);
But then you don't turn it back off again. What if the user was on a plane in
flight? Or otherwise in an environment where they didn't want the phone turned
on, such as a theater or whatever?
Besides, I thought it took up to 30 seconds for the phone numbers to be
available after first powering up the phone module? (Maybe that is dependent on
the carrier and type of SIM card used?)
My approach has always been to not turn the phone on. At a minimum I'd think
you should ask for permission to turn it on or turn it off again right away.
Though I also think that just turning it on and continuing immediately to try to
read the phone numbers may not give you the information anyway, at least with
all carriers and flavors of the 650.
Just my .02,
Doug
--
For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
-- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
