how to get geolocation data from the SIM card
Moderator: UNKNwYSHSA
how to get geolocation data from the SIM card
I try to write a simple cardlet to take geolocation data from the SIM card. I know that "Local Area Identity" keep these information.
The problem is how I can use my cardlet to get geolocation data.
Could you give me some methods/ advices?
tnx
The problem is how I can use my cardlet to get geolocation data.
Could you give me some methods/ advices?
tnx
- horse dream
- Posts: 76
- Joined: Thu May 21, 2015 11:48 pm
- Points :138
- Contact:
Re: how to get geolocation data from the SIM card
Here are two solutions.
1. EVENT_DOWNLOAD_LOCATION_STATUS. Register this event on install method, and applet will receive the event when there is location update in processToolkit method.
2. PROVIDE_LOCAL_INFORMATION proactive command, with command qualifier set to '00' ( Location Information / MCC, MNC, LAC and Cell Identity).
For the two solutions, 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.
1. EVENT_DOWNLOAD_LOCATION_STATUS. Register this event on install method, and applet will receive the event when there is location update in processToolkit method.
2. PROVIDE_LOCAL_INFORMATION proactive command, with command qualifier set to '00' ( Location Information / MCC, MNC, LAC and Cell Identity).
For the two solutions, 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.
Who is online
Users browsing this forum: No registered users and 34 guests