aspose file tools*
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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript 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: 1087
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

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: is there any other way to get sim number