Is there a way to look up the user phone number other than TelephonyManager?
In my G1, this returns null:
// get your phone number
TelephonyManager telephonyManager = (TelephonyManager)
getSystemService(Context.TELEPHONY_SERVICE);
String tel = telephonyManager.getLine1Number();
Log.i("Telephone Number ==> ", tel+" <==");
Is there any other way of getting user's own phone number?
take care,
Muthu Ramadoss.
http://linkedin.com/in/tellibitz
http://androidrocks.googlecode.com - Android Consulting.
Emo Philips <http://www.brainyquote.com/quotes/authors/e/emo_philips.html>
- "A computer once beat me at chess, but it was no match for me at
kick
boxing."
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---