如何将我的 j2me 应用程序的权限设置为“始终允许”在 S40 设备上?
我在 j2me 中创建了一个应用程序,它可以在诺基亚 N8、C7 和其他高端设备上正常运行。现在我正在尝试将相同的应用程序移植到低端设备 S40 设备,例如诺基亚 5130 Express Music。每次我的应用程序运行时,它都会询问“您希望应用程序读取用户数据吗?”。即使在应用程序访问->数据访问->读取用户数据,只有两个选项处于活动状态
1. Ask every time and
2. Not allowed
,其他两个选项
3. Ask first time only and
4. Always allowed
始终处于非活动状态。 我该怎么做才能激活这些选项?
I have created an app in j2me, which runs fine with Nokia N8, C7 and other high-end devices. Now i am trying to port the same app to low-end devices S40 devices such as nokia 5130 express music. Every time my app runs, it asks, "Do you want the app to read user data?". Even in the application access -> Data access -> Read user data, only two options are active-
1. Ask every time and
2. Not allowed
and the other two options
3. Ask first time only and
4. Always allowed
are always inactive.
What shall i do to make these options active?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
即使您签署您的应用程序,也不能保证“始终允许”有效,因为有 4 个安全域:
如果您不是 Verizon 等运营商或诺基亚等制造商,您的最大域名是第二,您可以查看并比较 S40 可以使用此域名做什么 - 看这里
您还可以阅读此博客 - 如何使用 MIDlet签名正在扼杀 J2ME。不太有希望,是吗?
切换到 Android 或 iPhone :) J2ME 是过时的技术,不要浪费你的时间。
Even if you will sign your app it doesn't guarantee that "Always allowed" will work, since there are 4 security domains:
If you're not operator like Verizon or manufacturer like Nokia, your maximum domain is 2nd and you can see and compare what you can do with this domain for S40 - look here
You can also read this blog - How MIDlet Signing is Killing J2ME. Not very promising, heh?
Switch to Android or iPhone :) J2ME is outdated technology, don't waste your time.
您需要签署您的申请。因为您没有< a href="http://www.developer.nokia.com/Community/Wiki/MIDP_2.0_API_access_rights" rel="nofollow">访问它们的权限。
You need to sign your application. Because you don't have rights to access them.