Search code examples
androidalarmmanagerandroid-alarmsschedule

How to make alarm on specific day and specific times


I am working on an app, I store schedules on everyday basis, eg there will be 6 schedule each day but timming will be different for each day, I have stored Scheduled and there timings in sqlite in a table, Now i want to make alarm for these schedules, How should i do so. The alarms be like eg, for sunday 9:30 am, 10:40 am, 11:00 am , 12 pm, 4 pm, 5pm and for monday 7 am , 8am etc. I dont have idea from where to start and how to do. I googled alot but invain, thanks in advance.


Solution

  • Use this class provided by android

    http://developer.android.com/training/scheduling/alarms.html http://developer.android.com/reference/android/provider/AlarmClock.html