2

How do implement an alarm clock in my application. i want to implement an alarm that is similar to system alarm. or Any Intent that i can use to set system alarm from my application.

Ashwani Kumar
  • 834
  • 3
  • 16
  • 30

1 Answers1

4

You want the Android Alarm Manager:

This class provides access to the system alarm services. These allow you to schedule your application to be run at some point in the future.

And here is a tutorial for your viewing pleasure.

Also, just so you know, the question right before the one you just asked answers the exact same problem. You probably could have searched for this solution.

Community
  • 1
  • 1
Robert Massaioli
  • 13,379
  • 7
  • 57
  • 73
  • 1
    @Robert Harvey - Yes. Signal to Noise ratio is important. I typed in his question and the auto-search-assist pointed me to a solution if i just included Android... – Eric Jun 08 '11 at 04:36
  • hi, Robert what i want to implement is set the system alarm clock from my application using the SET_ALARM, SET_MESSAGE variables. this will save lots of work of mine as i dont have to create my custom alarm clock. – Ashwani Kumar Jun 09 '11 at 10:24