EclipseME - 网络权限
我有一个 j2me 项目,在 netbeans 中运行良好。 因为我需要开发一个 android 版本,所以我已经转向 Eclipse。 我已经下载了Eclipse ME并导入了j2me项目。
我能够运行该应用程序,但我没有获得“是否可以使用通话时间”权限。 我检查了jad,所有权限都在那里。模拟器是“Sun Java(TM) Wireless Toolkit 2.5.2_01 for CLDC”。
知道为什么互联网连接不起作用吗?
I have a j2me project that works fine in netbeans.
Since i need to develop a android version i have moved to Eclipse.
I have downloaded Eclipse ME and imported the j2me project.
Im able to run the app, but i dont get "Is It Ok To Use Airtime" permission.
I checked the jad and all the permissions are there. Emulator is "Sun Java(TM) Wireless Toolkit 2.5.2_01 for CLDC".
Any idea why the internet connection is not working?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
无论如何,我找到了问题的根源。正如我所料,这与设置有关。在 WTK (install_folder/bin/ktoolbar.exe) 中,编辑/首选项下有“安全”部分。我将“安全域”设置为“制造商”。保存并退出。在 Eclipse 中,我右键单击该项目,然后在“运行方式”或“调试方式”下选择“...配置”。在“模拟器”选项卡下,安全域属性必须匹配(制造商)。之后一切都很顺利。由于问题的第一部分在 bhakki 链接中暗示,我奖励 bhakki 为我的问题投入的时间和精力。
Anyway i found the source of my problem. As i expected it had something to do with the settings. In WTK (install_folder/bin/ktoolbar.exe) there is section "Security" under Edit/Preferences. I set "Security domain" to "manufacturer". Saved and exit. In Eclipse i right click the project and under either "Run as" or "Debug as" i selected "... Configuration". Under "Emulator" tab the security domain property had to match up (manufacturer). After that all worked perfectly. Since first part of the problem was hinted in one of bhakki links im awarding bhakki for his time and effort put into my problem.