在模拟器上运行签名的 midlet 会产生 SecurityException
我有一个签名的 midlet(VeriSign Class 3),它可以在多个诺基亚设备上完美运行。
当我尝试在 JME SDK 3.0 模拟器上运行它时,它会生成 java.lang.SecurityException: 应用程序未授权访问受限 API。
它拥有所需的所有权限,否则将无法工作在设备上。 它在没有签名的情况下工作得很好,但是每次编译时单击取消单击是一件很痛苦的事情,具体取决于我是在设备上还是在模拟器上运行 midlet。
好吧,我必须在模拟器上安装 VeriSign CA Class 3 证书,才能识别签名。我不知道问题是否与此证书有关,但如果没有它,模拟器甚至无法启动应用程序,因为 CA 未知。
有人对签名和这个 JME SDK 模拟器有一些经验吗?
I have a signed midlet (VeriSign Class 3), which runs perfectly in several Nokia devices.
When I try to run it on the JME SDK 3.0 emulator it produces a java.lang.SecurityException: Application not authorized to access the restricted API.
It has all the permission it needs, otherwise wouldn't work on the devices.
It worked perfectly without the signing, but it's a pain in the neck to click an unclick everytime I compile, depending if I'm running the midlet on the device or on the emulator.
And well, I had to install the VeriSign CA Class 3 certificate on the emulator, in order to recognize the signature. I don't know if the problem is about this certificate, but without it the emulator wouldn't even start the application cause the CA was unknown.
Has anybody some experience with signatures and this JME SDK emulator?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
通过使用较新版本的模拟器(Java Wirelesss Tollkit 2.5.2)解决
Solved by using a newer version of the emulator (Java Wirelesss Tollkit 2.5.2)