Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何检查 J2ME 设备中是否存在 SIM 卡。
您可以尝试System.getProperty("microedition.smartcardslots");,但它依赖于JSR 177J2ME 的安全和信任服务 API (SATSA)。
System.getProperty("microedition.smartcardslots");
JSR 177
在某些方面是可能的。
请参考以下链接:
http://www.developer.nokia.com/Community/Discussion/showthread.php?227658-How-to-check-wheather-a-SIM-card-has-been-inserted-in-mobile-using-j2me
http://www.developer.nokia.com/Community/Discussion/showthread.php?105450-SIM-access-from-J2ME-%28deploy-SIM-application%29