This week's book giveaways are in the Refactoring and Agile forums. We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line! See this thread and this one for details.
i'm trying to start invoke one midlet (Setup) from another midlet (MainMidlet) in the same suite.
give the following error:
java.lang.SecurityException: Application not authorized to access the restricted API at com.sun.midp.security.SecurityToken.checkIfPermissionAllowed(+40) at com.sun.midp.security.SecurityToken.checkIfPermissionAllowed(+7) at com.sun.midp.midletsuite.MIDletSuiteImpl.checkIfPermissionAllowed(+8) at com.sun.midp.midlet.MIDletState.<init>(+78) at javax.microedition.midlet.MIDletProxy.<init>(+5) at javax.microedition.midlet.MIDlet.<init>(+13) at Setup.<init>(+4)
i've tried setting the security domain to trusted/untrusted/minimum/maximum, i've tried signing/not signing the midlet, adding permissions etc. still no joy.