I want to build an application that accesses information from the sim toolkit. My carrier allows you to access services like checking your account balance, sending and receiving cash and a whole lot of services. Are there any resources, tutorials or even just pointers on how I can access the info in the sim toolkit.
The SIM toolkit -
An app which makes calls to lower-level libraries, which in turn interfaces with the modem firmware -
https://github.com/android/platform_packages_apps_stk
Somewhat it depends on handset's Radio Interface Layer (RIL) implementation.
NOTE:
On many devices the RIL is proprietary, so third-party developers only spend time getting the basic stuff like calls, SMS, data, etc
working rather than spending all their time reverse engineering some crazy closed-source hardware.
WIKI link that can be helpful -
In order to access SIM card as secure element and execute STK proactive commands between terminal and SIM, SIM applet must be installed, in order to install SIM applet via OTA or card reader, SIM Profile(SPI,KIc,KId,TAR,CNTR) parameters and OTA keys are required from SIM card provider.
If this information is obtained, after reading Java Card, SIM Toolkit and Global Platform specifications SIM applet development can be done. Once applet successfully installed on SIM, by sending commands via self defined APDU it is possible to ask terminal to carry out several tasks or register callbacks to catch events when they occur on terminal.
© 2022 - 2024 — McMap. All rights reserved.