This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
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 OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA 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