smartcard - Access the SIM Card with an Android Application? -


i wonder if it's possible access sim card android application

you can imei (but want ?), exemple :

mtelephonymgr = (telephonymanager)getsystemservice(context.telephony_service); string imei = mtelephonymgr.getdeviceid(); 

likewise, have

string getsimcountryiso(): 

returns iso country code equivalent sim provider's country code.

string getsimoperator(): returns mcc+mnc (mobile country code + mobile network code) of provider of sim.

string getsimoperatorname(): returns service provider name (spn).

string getsimserialnumber(): returns serial number of sim, if applicable.

int getsimstate(): returns constant indicating state of device sim card.

string getsubscriberid(): returns unique subscriber id, example, imsi gsm phone.

for more, take @ this page

and don't forget add correct permission in manifest (getdeviceid() => requires permission: read_phone_state)


Comments

Popular posts from this blog

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

javascript - Highcharts multi-color line -

javascript - Enter key does not work in search box -