Hello, I want to capture the phone number of any android device. am using this code
TelephonyManager mTelephonyMgr = (TelephonyManager) getSystemService(Context.TELEPHONY_SERVICE); sim = mTelephonyMgr.getLine1Number(); in emulator it returns a value. But when i check in real device it returns nothing. So please give me the perfect code by which i can capture the phone number of a real device. Thanks, Suman Ganguly. (Android Developer) -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en