标签: java-me
如何检查J2ME设备中是否存在SIM卡。
答案 0 :(得分:2)
您可以尝试System.getProperty("microedition.smartcardslots");,但它依赖于JSR 177 J2ME安全和信任服务API(SATSA)。
System.getProperty("microedition.smartcardslots");
JSR 177
答案 1 :(得分:1)
在某些方面可能。
请参阅以下链接:
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