Read EF ICCID of SIM
843851Dec 7 2005 — edited Dec 19 2008Dear all
How to read ICCID of sim in the file EF_ICCID? and copy that ICCID into buffer?
So i can use it for unique identification of subscriber.
Here sime Technical error occurs in this code.
//start code:
theGsmApplet = SIMSystem.getTheSIMView();
theGsmApplet.select((short)SIMView.FID_MF);
theGsmApplet.select((short)SIMView.FID_EF_ICCID);
// reads the record from EF ICCID
theGsmApplet.readBinary((short)0,(byte[])buffer1,(short)0,(short)10);
// put ICCID it in the exchange buffer
ph.initDisplayText((byte)0xD0, DCS_8_BIT_DATA ,buffer1, (short)0x0000, (short)0x0010);
//display contant of buffer
ph.send();
//end code
is there any other file which i can use as unique identity of subscriber?
Thank you in advance.
Regards
Divyesh.