Hello Friends, How to repeat alarms for several day under the same ID. *for ex:- i want to set alarm for 10:30 AM and Repeating Sunday, Monday and Friday.* * * *Here is the my code* * *
Calendar myCal = Calendar.getInstance(); myCal.set(myCal.get(Calendar.YEAR), myCal.get(Calendar.MONTH), myCal.get(Calendar.DAY_OF_MONTH), 10, 30, 00); myCal.set(Calendar.DAY_OF_WEEK, Calendar.SUNDAY); myCal.set(Calendar.DAY_OF_WEEK, Calendar.MONDAY); myCal.set(Calendar.DAY_OF_WEEK, Calendar.FRIDAY); PendingIntent senderPi = PendingIntent.getBroadcast( AddAlarmActivity.this, db.getNextId(), AlarmIntent, PendingIntent.FLAG_UPDATE_CURRENT); almMgr.setRepeating(AlarmManager.RTC_WAKEUP, myCal.getTimeInMillis(), AlarmManager.INTERVAL_DAY,senderPi); Please give me a good suggestions for this. Thank YOU! -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.

