1

I want to start my application everyday at a particular fixed time.i tried the link Start app at a specific time but didn't worked.

Community
  • 1
  • 1
Ice Box
  • 1,534
  • 1
  • 14
  • 28

2 Answers2

1

You should achieve it using a service with AlarmManger for that. First when user install your application then you should start Service then service start AlarmManager content a pendingIndent this pending intent fire on you specific time mention you in AlarmManager

Praveenkumar
  • 25,445
  • 23
  • 94
  • 171
DynamicMind
  • 4,180
  • 1
  • 25
  • 43
1

By use of AlarmManager you can declare the time. And use of BroadcastReceiver you can start the application at the time of reached. I suggest you to try Commonsware example application. There you should modify the code by yourself with your needs.

Hope this helps you lot.

Praveenkumar
  • 25,445
  • 23
  • 94
  • 171