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.
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?