1

Bug when firing notification using AlarmManager at specific time every day

view story
linux-howto

http://stackoverflow.com – In my app a timepicker is used by the user to set an alarm to notify them on when to use the app. When they set the reminder it will notify the user every 24 hours. I have used AlarmManager and Service to solve the problem. When I set the time I get notification every 24 hours, but sometimes I keep getting notifications randomly again and again. This is an error I can't debug and I don't know where the problem is. This is how I have done: To set an Reminder and cancel it here is my code: I use AlarmManager to set the Time. private void setReminder(){ Calendar calendar = Calendar.getIns (HowTos)