2

I want to develop an alarm clock like services in android that is the app should run on the some user entered time and even if the mobile is switched of that app should work as alarm clock works .

Jasra
  • 353
  • 3
  • 6
  • 19

1 Answers1

4

Use an AlarmManager. See this SO question. You'll also probably want to recreate your alarms on reboot (they're normally cleared then); see this android developers thread.

Community
  • 1
  • 1
Yoni Samlan
  • 37,905
  • 5
  • 60
  • 62