Search code examples
androidandroid-alarms

how to implement system Alarm Clock in my applications?


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.


Solution

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