sktanmoy Active Member Licensed User Longtime User Jan 24, 2013 #1 Is there any STK (Sim Toolkit) library available for b4a? I need to access SIM Menu to do some tasks automatically. I found something here but I'll wonder if find something for b4a.
Is there any STK (Sim Toolkit) library available for b4a? I need to access SIM Menu to do some tasks automatically. I found something here but I'll wonder if find something for b4a.
bluejay Active Member Licensed User Longtime User Feb 3, 2013 #3 There is no B4A library for this and I don't believe it would be possible to make one. I am not an expert on the low level system coding but the following would be my view on this topic. B4A compiles to Java and functionality to access RIL would required at least Native Code System libries (.so). Since the Radio Interface Layer is involved it is quite low level. RIL functions also usually involve vendor code for the specific hardware. I suspect this is in the same situation at accessing AT modem commands, they exist in the phone at the RIL layer but can only be issued by one system program. For the AT modem command case this was because the AT commands were not designed for a multi-tasking environment and hence need to managed by one system program. Maybe someone more expertise will have better news for you. bluejay Upvote 0
There is no B4A library for this and I don't believe it would be possible to make one. I am not an expert on the low level system coding but the following would be my view on this topic. B4A compiles to Java and functionality to access RIL would required at least Native Code System libries (.so). Since the Radio Interface Layer is involved it is quite low level. RIL functions also usually involve vendor code for the specific hardware. I suspect this is in the same situation at accessing AT modem commands, they exist in the phone at the RIL layer but can only be issued by one system program. For the AT modem command case this was because the AT commands were not designed for a multi-tasking environment and hence need to managed by one system program. Maybe someone more expertise will have better news for you. bluejay
sktanmoy Active Member Licensed User Longtime User May 5, 2013 #4 Erel, I've found some java example for STK application. https://github.com/android/platform_packages_apps_stk GrepCode: com / android / stk - Source Code View Would you please have a look? We might get some possibilities. Upvote 0
Erel, I've found some java example for STK application. https://github.com/android/platform_packages_apps_stk GrepCode: com / android / stk - Source Code View Would you please have a look? We might get some possibilities.
Erel B4X founder Staff member Licensed User Longtime User May 5, 2013 #5 Didn't see any description about this code. I don't think that it is possible to access SIM commands from (non-system) Java. Upvote 0
Didn't see any description about this code. I don't think that it is possible to access SIM commands from (non-system) Java.