How do I access Android STK Menu using APK?

2019-01-23 14:44发布

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?

3条回答
Lonely孤独者°
2楼-- · 2019-01-23 15:17

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.

查看更多
小情绪 Triste *
3楼-- · 2019-01-23 15:19

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.

查看更多
虎瘦雄心在
4楼-- · 2019-01-23 15:28

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

查看更多
登录 后发表回答