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
Saurabh Verma
  • 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
  • 24,084
  • 23
  • 95
  • 173
DynamicMind
  • 4,240
  • 1
  • 26
  • 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
  • 24,084
  • 23
  • 95
  • 173