Start MIDlet automatically when device reboots?
Asked Answered
R

1

7

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.

Raychel answered 5/5, 2012 at 11:44 Comment(4)
the WTK won't notice the entry you added, since as explained in answers to your other question this will work only on Nokia handsets. Also, as explained in these answers, there is no generic way way to achieve stuff like that in MIDP 2Simpleton
@Simpleton I am using in Nokia Handsets also. I installed my application in Nokia S60. But when i reboot my device then this is not starting automatically.Raychel
why you wrote I am using WTK then?Simpleton
@Simpleton sir, I did not singed my MIDLet. can I use Nokia-MIDlet-auto-start: yes ?Raychel
F
4

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.

Fishwife answered 5/5, 2012 at 23:13 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.