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.
Asked
Active
Viewed 554 times
1
-
1Have you tried out any code before? – Praveenkumar Jun 06 '12 at 05:54
-
see pendingintent and alarmanager and Broadcastreciever and may be intent as well.... – Its not blank Jun 06 '12 at 05:55
-
i tried the link that i mentioned above but that is not what i want. – Saurabh Verma Jun 06 '12 at 05:57
2 Answers
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