Start MIDlet automatically when device reboots?
I am working in J2ME. I want that my application must be automatically started when my device reboots .
I have made Nokia-MIDlet-auto-start: yes entry in my JAD file as suggested in
http://library.developer.nokia.com/index.jsp?topic=/Java_Developers_Library/GUID-C22F1733-6877-42EC-A610-40F9E592C92D.html
The MIDlet is currently unsigned, and I am using Nokia handsets for testing (the Nokia S60 in particular).Regardless off the steps I took, as mentioned above, when I reboot my device the app does not start automatically.
Please suggest me what should I do to automatically restart my MIDLet on device boot. Thanks.
From your link:
"You can set MIDlets running in the manufacturer or operator domain to start automatically on device boot"
This means that it will only work if Nokia or the handset operator trusts the certificate you use to sign your MIDlet.
The property will not work on unsigned MIDlets.
This question contains a bit more information about domains.
链接地址: http://www.djcxy.com/p/59172.html下一篇: 设备重新启动时自动启动MIDlet?