sHe,

>hmm, haven't searched yet but does all treo have this IMEI? and is it unique? 

Check the archives for discussions of this.  But among other things, realize you
can only read the IMEI or ESN number of the phone while the phone module is
powered up and initialized.  So while the user intentionally has the phone off
(such as on an airplane or hospital or theater or whatever) you can not get the
number.

And while you can turn on the phone programatically, it is not recommended to do
so since they may be in an environment such as above where that should not
happen plus it isn't available immediately if you do so anyway.  I think it
takes up to 30 seconds depending on the phone type and carrier.

Thus using it as part of a licensing check may not be appropriate unless your
app should only run when the phone is on.  If the phone is off, you should ask
the user for permission to turn it on and exit gracefully if they decline.

Doug

-- 
For information on using the PalmSource Developer Forums, or to unsubscribe, 
please see http://www.palmos.com/dev/support/forums/

Reply via email to