how to find simcard is change or not in android device? -
in project require checking simcard change or not in android.
i referring many question in stack overflow
, many blog
not getting proper way.
i want simple task follows.
when simcard change time print message.
problem.
some of android device
cdma
,gsm
.cdma
?gsm id unique checking simcard
change or not
?when check simcard change because of phone have require off phone remove battery , change simcard , of phone have direct change simcard out removing phone means phone have simcard slot.
give me guideline
.
there 1 suggestion :-
on application launch (first time) save/store unique number of sim(subscriber id).
on every phone bootup again fetch unique number of sim(subscriber id).
, match have stored in app. if matched ok, else sim changed. below method needed subscriberid
number.
imsi = m_telephonymanager.getsubscriberid();
Comments
Post a Comment