It's not a secret anymore!*
The moose likes Android and the fly likes is there any other way to get sim number Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Mobile » Android
Bookmark "is there any other way to get sim number" Watch "is there any other way to get sim number" New topic
Author

is there any other way to get sim number

sam liyanage
Ranch Hand

Joined: Nov 25, 2008
Posts: 1073
I need to get the sim number programtically in android.I used below
telephonyManager.getLine1Number(); but it always get get null values.

is there any other ways to get sim no?
sonu raj
Ranch Hand

Joined: Jul 31, 2012
Posts: 43

Hi,
Mobile number is only available if your device is able to get it otherwise this method will return null. There is another way to get phone number if 'whatspp' is installed on the device

 
Don't get me started about those stupid light bulbs.
 
subject: is there any other way to get sim number
 
Similar Threads
how to get radio button value
How to handl Null Values from Database
how to get the value from the readonly field?????
how to get back bean value in javascript
about request.getAttribute