How to set permissions of my j2me app to "Always allowed" on S40 devices?

Shafi picture Shafi · Oct 10, 2011 · Viewed 7.2k times · Source

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?

Answer

Barmaley picture Barmaley · Oct 10, 2011

Even if you will sign your app it doesn't guarantee that "Always allowed" will work, since there are 4 security domains:

  1. Third party protection domain (untrusted 3rd party)
  2. Identified third party protection domain (trusted 3rd party)
  3. Operator protection domain
  4. 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.