All Questions
Tagged with sim-card telephonymanager
16 questions
4
votes
0
answers
62
views
Undocumented SIM States in TelephonyManager
I'm working on an application where I want to read the SIM State, and I've been following along with Google's documentation on getSimState.
Some of my users are returning values that are not ...
1
vote
1
answer
622
views
Telephonymanager getAllCellsInfo returns wrong registered cells count
I have two active sim cards on the phone. But getAllCellsInfo returns only one registered cell. How this can happen? And what should I do to fix it?
SubscriptionManager.geAllSubscriptionsInfoList() ...
1
vote
0
answers
2k
views
Is it possible to retrieve the phone numbers of both the dual sim cards in Android programmatically.
I did refer to one of the answers suggested before and edited it because the sim index is not checked in that answer. Here's what I used.
SubscriptionManager subscriptionManager = SubscriptionManager....
1
vote
0
answers
916
views
got UICC carrier priviliges but failed to open channel in android 5.1
I am trying to develop some functions with newly added UICC features in TelephonyManager in android 5.1,
using these configuration in my UICC and got UICC carrier privileges already.
( refer to ...
1
vote
1
answer
3k
views
If `SIM` state is `NETWORK_LOCKED`, How can I unlock it programmatically in Android?
I have a tool, using that I can able to network lock and then can do unlock manually, but I need to do unlock programmatically, How ?
Below is just for Information more understanding :
https://...
7
votes
2
answers
8k
views
Sign App with UICC Carrier Privileges Certificates
I was reading information on this link in regards to signing an application with carrier privileges.
I am aware of how to sign an application using a keystore for production releases, but how do I ...
2
votes
0
answers
230
views
how to use sendEnvelopeWithStatus method (android api 21)
I am novice on android development, actually i am developing an application who communicate with SIM card.
I looked to the API updates added recently on Android 5.1.1, and I found the method ...
0
votes
1
answer
514
views
I have one issue with sim change receiver?
I have written one receiver when sim state is changed it is working fine ,and my device is dual sim card it is working for single sim,but it is not executing for 2nd sim,and when 1st sim is on ready ...
1
vote
1
answer
861
views
Read phone number from Android Device in Eclipse
I wanted to read the phone number of the sim card that is inserted into the android phone in Eclipse for my project. I have tried the Telephone Manager Class but since it reads the device phone number,...
0
votes
1
answer
2k
views
Failed to get Sim Card details (Sim Serial Number) for sim2 in Samsung Dual Android phone
I'm trying to get sim card details for sim 1 and sim 2 in a Samsung dual phone (Samsung Gt-S6802) , I am able to get details for sim 1 but for sim 2 I get a null value.
I'm using Java reflection ...
0
votes
1
answer
384
views
Android - Getting SImcard Number ? Will it work for all the Network Providers?
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()....
0
votes
1
answer
1k
views
Network type unknown on Android Nexus 7 tablet
I made a simple application that shows the network type currently on the device. I have Nexus 7 inch tablet and the value shown is Unknown. I know that Nexus 7 is not a GSM device i.e it doesn't need ...
49
votes
5
answers
128k
views
How to get current SIM card number in Android?
I want to know user mobile number in Android. I used this code but I'm not getting number.
TelephonyManager tm = (TelephonyManager)getSystemService(Context.TELEPHONY_SERVICE);
String n = tm....
1
vote
0
answers
2k
views
Not getting sim informations
In my application I am checking Sim is present or not by using simState == TelephonyManager.SIM_STATE_ABSENT . If Sim is present I am collecting all Sim information like Sim operator name, Sim country ...
3
votes
1
answer
1k
views
Programmatically check if PIN lock is active in Android
Here's the thing - I'm doing a security app that needs to be able to check if the PIN code is set or not. The official API returns the same value regardless of the PIN state, and I've been ...
12
votes
4
answers
21k
views
to get phone number programmatically in Android
I am using the code
TelephonyManager tMgr =(TelephonyManager)mAppContext.getSystemService(Context.TELEPHONY_SERVICE);
mPhoneNumber = tMgr.getLine1Number();
to get the phone no programatically in ...