• Post Reply Bookmark Topic Watch Topic
  • New Topic

is there any other way to get sim number  RSS feed

 
Ranch Hand
Posts: 1279
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
Ranch Hand
Posts: 43
Android C++ Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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

 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!