1
votes

Is it possible to start a midlet automatically straight away after the user has installed it ? So once the midlet is installed it launches.

3

3 Answers

1
votes

No it is not possible.

AMS installs the app, and then in most of the phone it will ask user for start app. we can't load automatically.

1
votes

Its not possible but you can achieve a slightly similar effect if you are able to make use of the midlet install notify in the jad

http://java.sun.com/products/midp/OTAProvisioning-1.0.pdf

then use push registry as your server would be notified that the application has been installed

http://developers.sun.com/mobility/midp/questions/pushregistry/

One of the problems here is the signing model for permissions to allow for this to happen, you will probably need to look at Java Verified or similar

0
votes

At least on Nokia S40 devices, there is the manifest attribute Nokia-MIDlet-auto-start: http://library.forum.nokia.com/topic/Java_Developers_Library/GUID-C5D3E0F5-72B9-4EE7-8BA7-20DE4A538FB8.html