Questions tagged as 'android-alarmmanager'

1
answer

Daily notifications at a specific time set by the user

I've created a method to send a notification to the user with the name sendNotification() using NotificationCompat.Builder and NotificationManager . I need this notification to be launched every day at 07:30 AM , and th...
asked by 10.03.2017 / 18:16
2
answers

What are the differences between AlarmClock and AlarmManager?

What are the differences between AlarmClock and AlarmManager?     
asked by 16.01.2017 / 03:24
2
answers

AlarmManager only stores an Alarm

I have a problem with AlarmManager , for example, if I set an Alarm to 16:00 and another to 16:30 only the second is generating the notification, different from the second. I made some rather confusing conversions to manipulate the schedul...
asked by 10.12.2014 / 00:45
1
answer

Count down with alarm

I have a project where I start an action of 10min, for example, and thus starts a countdown timer. This counter will be displayed on a management screen (it can add +1 minutes, like the timer of the native widget). When 15 seconds is gon...
asked by 06.09.2016 / 22:18
2
answers

Alternative to AlarmManager

I would like an alternative to schedule a notification other than AlarmManager. The reason is that when the phone is turned off and then turned on, the scheduled task is removed.     
asked by 17.05.2018 / 19:00
1
answer

AlarmManager is not repeating

I have an alarm that is triggered every 5 minutes, and it calls an intentService to test a condition that if true, sends notification to the user, otherwise it does nothing. But the intentService is only being called once, and only if I open...
asked by 05.03.2018 / 18:35
1
answer

AlarmManager does not run on configured

In a method that registers a AlarmManager to run every 30 seconds the BroadcastReceiver : public void play(View view) { Log.i("lgg", "Botão: broadPlay"); Calendar calendar = Calendar.getInstance(); calend...
asked by 09.03.2018 / 19:51
1
answer

Alert works immediately if the time exceeds the defined alarm

This is the code I have: alarme.setRepeating(AlarmManager.RTC_WAKEUP, horas, 86400000, alarmIntent); The purpose was to send a notification after 24 hours and it works after 24 hours the problem is that we imagine my alarm is at 12:20 a...
asked by 20.06.2016 / 16:14
1
answer

Daily notifications at a specific time set by the user

I've created a method to send a notification to the user with the name sendNotification() using NotificationCompat.Builder and NotificationManager . I need this notification to be launched every day at 07:30 AM , and th...
asked by 10.03.2017 / 18:16
1
answer

Why does not the alarm open to Activity?

I have in my code an alarm that is supposed to ring when the 22:48 hours arrive but nothing happens now I wonder if the hours that the calendar uses are the system hours? if so what am i doing wrong so my alarm does not show up? I call the fu...
asked by 15.06.2016 / 17:58