How do I access Android STK Menu using APK?

雨燕双飞 提交于 2020-01-09 19:45:32

问题


I would like to access the SIM menus on an Android phone using STK.

I am trying to write an APK that shows the SIM Menus and perform operations on it. However, since the software would be used by users, replacing the OS core modules may not be an option.

How can I do this?


回答1:


This is, unfortunately, not possible. SimToolkit applications are protected from use by other applications because they could incur charges for the user or alter his connectivity state without his knowledge or consent.

The SimToolkit application (which is signed by the manufacturer or mobile operator so that it has special privileges) is the only application which is permitted to communicate with the STK application on the SIM card.




回答2:


The STK as in Sim-Tool-Kit, is actually available in the source code for AOSP.

It can be found under packages/apps/Stk, so it would be a matter of taking the source from that and modify to suit your needs.




回答3:


I downloaded the stk app from here, https://goo.im/devs/playfulgod/misc/Stk.apk/ and copied it to system/app , modified the permissions to rw-r--r-- and rebooted. Voila! Stk appeared on the app drawer and it's working. Using Paranoid android 4.5-Beta2



来源:https://stackoverflow.com/questions/9227732/how-do-i-access-android-stk-menu-using-apk

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!