I want my task to be started at 12, 3, 6, 9 pm on every day. To these hours, a method should be called. How can I implement such a scenario. If anyone can grant a resource or code example, it is admirable.
Asked
Active
Viewed 2,572 times
0
-
http://tasker.dinglisch.net/ - If you don't want to make your own app. – user1378730 May 22 '12 at 10:13
-
I found a way. //Create alarm manager AlarmManager alarmMgr0 = (AlarmManager)getSystemService(Context.ALARM_SERVICE); //Create pending intent & register it to ur alarm notifier class – M P Mathugama May 25 '12 at 11:31
1 Answers
4
Check out the AlarmManager http://developer.android.com/reference/android/app/AlarmManager.html
Search stack for examples, here is one Alarm Manager Example

Community
- 1
- 1

Ian Warwick
- 4,774
- 3
- 27
- 27