telephonymanager - How can i get SIM ID of both sim in dual android device...? -
by code i'm getting 1 sim id
telephonymanager m = (telephonymanager)getsystemservice(context.telephony_service); string phonenumber = m.getline1number(); string simid = m.getsimserialnumber(); string phoneimei = m.getdeviceid(); tvsim.settext("phone number : " + phonenumber); tvsimid.settext("sim id : " + simid); tvimei.settext("imei" + phoneimei);
there no general method info second\third\fourth sim in device, detect presence ;-(
all dual-sim mechanisms vendor-specific. had been discussed lot; please use search on stackoverflow.com see details, , code sketches.
Comments
Post a Comment