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开发者_StackOverflow中文版, 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?
Even if you will sign your app it doesn't guarantee that "Always allowed" will work, since there are 4 security domains:
- Third party protection domain (untrusted 3rd party)
- Identified third party protection domain (trusted 3rd party)
- Operator protection domain
- Manufacturer protection domain
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.
You need to sign your application. Because you don't have rights to access them.
精彩评论