There are some possible (U)SIM Toolkit APIs:
- Using
EVENT_DOWNLOAD_LOCATION_STATUS
. Register this event on install method, and applet will receive the event when there is location update in processToolkit method. - Using
PROVIDE_LOCAL_INFORMATION
proactive command, with command qualifier set to '00' ( Location Information / MCC, MNC, LAC and Cell Identity).
For two solutions above, you need to check that the mobile phone you are using has the support of the mechanism, indicated in its TERMINAL PROFILE
.
Alternatively, you can also check for EF LOCI under DF GSM which keeps the Local Area Identity information and read it using READ BINARY
.