sim and network operator name

fotosettore

Member
Licensed User
Longtime User
hi !

these says information about sim inside phone :

Log(Main.P.GetSimOperator)
Log(Main.P.GetNetworkOperatorName )

but are NOT valid only for DUAL SIM smathphone, because these are informations of first sim.

so : is there a way to know informations about the second sim ?

many thanks
 

pappicio

Active Member
Licensed User
Longtime User
Currently it is not possible.

but I've seen that on dualsim phones, the database:/data/data/com.android.providers.telephony/databases/telephony.db, in table:"siminfo", contais both sims info, names and telephone numbers (names are that you choice for both sim cards.....) is there any way to read theese infos??? also only for rooted phones???
thanks!!!
 
Upvote 0

pappicio

Active Member
Licensed User
Longtime User
Android misses this API: Issue 14799 - android - Dual SIM cards supporting - Android - An Open Handset Alliance Project - Google Project Hosting

If your device is rooted then you can probably access the database directly (with SQL library).

thanks Erel, but sql.inizialize, give denied permission on that database, but with b4aroot->rootcCmdSilent, I can copy that database into any other readable folder (for i.e.: /mnt/sdcard/anyfolder/data.db) and then with sql commands I can retrieve all informations I need on!!!
thanks, hopeing google insert also all that apis listed.....
See U!
 
Upvote 0
Top