Android Get Sim Card Serial Number Programmatically
Hi all, How to get 2nd sim card serial number? Log('ph.GetSimSerialNumber ' & ph.GetSimSerialNumber) The above code is working. Its using PhoneId. Unique numbers you can get (if SIM is inserted) is the SIM serial number. However, on the operator can link that to a phone number, something you probably won't be able to (if you're not law enforcement).
I don't need to know how to paste the installation ID and confirmation ID into the.cil file as I already know how to do that. Installation id confirmation id generator office 2013.
v1.7: Aggiunto il supporto ai dispositivi dual sim con android 5.1 e superiori
il codice iccid solitamente è composto da 19 cifre, in casi contrari verrà mostrato un avviso a schermo, si consiglia di contattare l'operatore che ha rilasciato la Sim nel caso in cui l'identificativo rilevato non dovesse essere formato da 19 cifre per chiarimenti
v2.0: La nuova versione 2.0 porta una ventata fresca al design dell'applicazione con nuova icona ed interfaccia, l'utilizzo dei bundle android e delle nuove librerie AndroidX
---------------------------
Ringraziamenti speciali:
Giulio Fagioli (Remeic) per l'icona ed il mockup grafico
Rubens Rainelli per l'idea
---------------------------
1.7.5 (Beta) Inserita gestione di iccid Anomali da 16, 20 e 22 caratteri
1.7.6 (Beta) Ridotta dimensione caratteri, aggiunta possibilità di vedere iccid originale per iccid errati
2.0 Ultimi ritocchi grafici, vedi changelog sopra 1.7.4->1.7.6
2.0.1 Fix per android Pie
Iphone Sim Card Serial Number
I am using the code
to get the phone no programatically in android . But this is working fine only for one sim card.If i test this code by inserting other sim card, it is giving null
. I am trying to find the solution for this. please help me. I have also included READ_PHONE_STATE
permission in Manifest
.
I want to uniquely identify the sim card. IS there any other way to do this. please let me know.
Sim Cards For Cell Phones
4 Answers
I think Sim serial Number is unique. You can try this.
Let me know if there is any issue.
This is a known issue. Many SIM across the globe would return null. You should rather use IMEI number however even that can return null.
Look for TelephonyManager.getSubscriberId(), this will give the unique id for each SIM. Free download livewire professional edition.
With API Level greater than or equal to 22 : You can access all the SIM details using SubscritionManager. Use following command to list all Sim numbers(Works well for Dual Sim also):
Verizon Sim Card
Note : This only works well when the operator stored their mobile number in sim card. Else, this method returns null.