Hi guys,
                  i'm using the foll code snippet in my program to display
the user's phone number...
  TelephonyManager tm = (TelephonyManager)
getSystemService(TELEPHONY_SERVICE);
  phNoText.setText("You are : " + tm.getLine1Number());
i'm getting a no in the emulator... but when i try runnin on the G1 it
always returns a null string...
am i doin something wrong or is it bec G1 doesnt give my app the phno???

-- 
Regards,
Sujay
Mitch Hedberg<http://www.brainyquote.com/quotes/authors/m/mitch_hedberg.html>
- "My fake plants died because I did not pretend to water them."

--~--~---------~--~----~------------~-------~--~----~
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