简体   繁体   English

访问sim工具包的android应用程序

[英]android app that accesses the sim toolkit

I want to build an application that accesses information from the sim toolkit. 我想构建一个访问来自sim工具包的信息的应用程序。 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. 是否有任何资源,教程甚至只是指示我如何访问SIM工具包中的信息。

Not Android specific, but there are a whole load of resources referenced in the answers to 不是Android特定的,但在答案中引用了大量资源

SIM Application Toolkit development SIM应用程序工具包开发

The SIM toolkit - SIM工具包 -

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 https://github.com/android/platform_packages_apps_stk

Somewhat it depends on handset's Radio Interface Layer (RIL) implementation. 有点取决于手机的无线接口层(RIL)实现。

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. 在许多设备上,RIL是专有的,因此第三方开发人员只花时间获取calls, SMS, data, etc工作,而不是花费所有时间来反向设计一些疯狂的闭源硬件。

WIKI link that can be helpful - WIKI链接可以提供帮助 -

http://en.wikipedia.org/wiki/SIM_Toolkit http://en.wikipedia.org/wiki/SIM_Toolkit

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. 为了访问SIM卡作为安全元件并在终端和SIM之间执行STK主动命令,必须安装SIM小程序,以便通过OTA或读卡器安装SIM小程序,SIM Profile(SPI,KIc,KId,TAR,CNTR) SIM卡提供商需要参数和OTA密钥。

If this information is obtained, after reading Java Card, SIM Toolkit and Global Platform specifications SIM applet development can be done. 如果获得此信息,则在阅读Java Card,SIM工具包和全局平台规范后,可以完成SIM小程序开发。 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. 一旦applet成功安装在SIM上,通过自定义APDU发送命令,就可以要求终端执行多个任务或注册回调以捕获终端上发生的事件。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM