Reputation: 41
I am planning to get the Simcard number inserted in the android devices. So for that , i am trying this coding snippet,
TelephonyManager tm = (TelephonyManager)this.getApplicationContext().getSystemService(Context.TELEPHONY_SERVICE); String phoneNumber= tm.getSimcardNumber();
my question is , Whether I can get Simcard Number of all the Network Providers or not. Please suggest me . Looking forward to the reply.
Regards Anand
Upvotes: 0
Views: 386
Reputation: 452
some of mobile network providers store sim number in their sim cards but lot of them dont did this because of network flexibility like MTN
you cant trust to functions like this . in same situation i used recieved text messages to get phone number
Upvotes: 0