This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes Java Micro Edition and the fly likes Startup using RegisterAlarm Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "Startup using RegisterAlarm" Watch "Startup using RegisterAlarm" New topic
Author

Startup using RegisterAlarm

Ian Strain
Ranch Hand

Joined: Jun 30, 2004
Posts: 49
Hi,

I've written an app that uses registerAlarm to restart the app after a certain amount of time. When the app starts via the alarm, is there any way of identifying that it was the alarm that started the app and not the user?

Thanks
Ian


"its bad luck to be superstitious....."
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Startup using RegisterAlarm