开发者

Start midlet after installing

开发者 https://www.devze.com 2023-01-31 05:53 出处:网络
Is it possible to start a midlet automatically str开发者_JAVA百科aight away after the user has installed it ?

Is it possible to start a midlet automatically str开发者_JAVA百科aight away after the user has installed it ? So once the midlet is installed it launches.


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.


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


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

0

精彩评论

暂无评论...
验证码 换一张
取 消