I am trying to get the user's phone number to use as UID and it seems
to work in the emulator but not in the actual device, is it a bug or
am I doing something wrong? My piece of code is here...

                                TelephonyManager mTelephonyMgr = 
(TelephonyManager)
getSystemService(Context.TELEPHONY_SERVICE);
                                String phoneNum = 
mTelephonyMgr.getLine1Number();
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to