Most voted "android-alarmmanager" questions
26 questions
Sort by count of
-
7
votes1
answer1549
viewsDaily notifications at a specific user-defined time
I created a method to send a notification to the user with the name sendNotification() using NotificationCompat.Builder and NotificationManager. I need this notification launched every day at…
-
5
votes2
answers813
viewsAlarmmanager only stores an Alarm
I have a problem related to AlarmManager, For example, if I program an Alarm for 16:00 and another for 16:30 only the second is generating the notification, different from the second. I did some…
-
5
votes2
answers404
viewsWhat is the difference between Alarmclock and Alarmmanager?
What are the differences between Alarmclock and Alarmmanager?
-
4
votes3
answers360
viewsAlarms are lost when mobile is turned off and on!
How to make the alarms not get lost? Ex: if I create one AlarmManager who calls a Broadcast, if I restart(turn off/on) the mobile phone alarm is no longer triggered.…
-
3
votes1
answer334
viewsCountdown counter with alarm
I have a project where I start a 10min action, for example, and so starts a countdown. This counter will be shown on a screen for management (it can add +1 minute, as the timer of widget android…
-
2
votes1
answer106
viewsAlert works immediately if the time is longer than the closed Larm
This is the code I have : alarme.setRepeating(AlarmManager.RTC_WAKEUP, horas, 86400000, alarmIntent); The goal was to send a notification after 24 hours and it works after 24 hours the problem is…
-
2
votes1
answer538
viewsSet specific time in Alarmmanager by Timepicker and Datepicker
I am taking a test before implementing in the real application. I have an application with two buttons (Date and Time) and a button (Schedule). As soon as the user clicks on the Date button, a…
-
2
votes2
answers114
viewsAlternative to the Alarmmanager
I would like to know an alternative to scheduling a notification other than with Alarmmanager. The reason is that when the phone is turned off and then turned on, the scheduled task is removed.…
-
2
votes1
answer82
viewsAlarmmanager does not run on configured interval
In a method that records a AlarmManager to run every 30 seconds BroadcastReceiver: public void play(View view) { Log.i("lgg", "Botão: broadPlay"); Calendar calendar = Calendar.getInstance();…
-
1
votes2
answers524
viewsHow to know the remaining time for the alarm to ring
I am developing an alarm clock. Below I have a function to set the alarm. But I want to know how to find the remaining time for Alarmmanager to trigger Pendingintent. For example, it’s now 11:00,…
-
1
votes1
answer189
viewsAlarmmanager does not cancel scheduled alarm
I have the following code on MyReceiver: @Override public void onReceive(Context context, Intent intent){ context.startService(new Intent(context, BackgroundService.class)); } public void…
-
1
votes1
answer77
viewsWhy doesn’t the alarm open Activity?
I have in my code an alarm that is supposed to ring when the hours arrive at 22:48 but nothing happens now I wonder if the hours that Calendar uses are the system hours ? if yes what I am doing…
-
1
votes1
answer131
viewsAlarmmanager 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 he does nothing. But the intentService is…
-
1
votes1
answer67
viewsRun service even if the app is not open
I am creating an alarm clock app and in the tests I would like it to wake up (in this example it still vibrates), but I am not able to make it run in the background and so does not end up awakening,…
android services broadcastreceiver android-alarmmanagerasked 6 years, 8 months ago Eduardo Rafael Moraes 710 -
0
votes1
answer435
viewsAlarmmanager - Time-specific notification
I’m trying to trigger a message on the screen through the AlamManager and BroadCastReceiver. The specific time is being picked up by a TimePicker exactly as you should. But the notification ends up…
-
0
votes1
answer106
viewsCancelling an Alarmmanager/Broadcast
Next, I don’t know which one to cancel to not be executed, but I think it’s the AlarmManager! I have a class that registers a AlarmManager with Intent("BROADCAST") to run at a specific time, when…
-
0
votes1
answer64
viewsHow do I withdraw a notification!
I’m wearing a alarmeManager to generate a notification, and when I click on it it opens a activity! But if you open the app without clicking on the notification I need that notification removed!…
-
0
votes1
answer484
viewsDoubt with Notification and Alarmmanager
What I need is a hint, help to know how to implement an Alarmmanager that whenever a notification appears something like this In the Home screen of the phone and is making a sound every 5s for the…
-
0
votes0
answers273
viewsError when resetting alarm with Alarmmanager right after cancelling it
I have an alarm set to wake up at a certain time and repeat every five minutes. But after a few repetitions, I automatically set the cancellation of the same, that is, call the method to cancel…
-
0
votes2
answers2892
viewsAndroid - Alarm for mobile according to system time
Hello. I’ve done a lot of research and I’ve learned to do some nice things with Alarmmanager and stuff like that. I wanted to make an alarm for my mobile for testing, the problem is that all the…
-
0
votes1
answer679
viewsNotification with Alarm manager
One of the ultimate goals of my application is to send notifications to the user at a certain time. My Alarm manager is working correctly now my problem is notifications that are not shown. The aim…
-
0
votes1
answer242
viewsLose value in getIntent()
My problem is this... I have a routine of notifications that the user click on the notification screen, open a new Activity. In this new Activity I show some information that I search in the…
android android-activity intent broadcastreceiver android-alarmmanagerasked 8 years, 3 months ago Joel Messias Do Nascimento 103 -
0
votes0
answers102
viewsAlarm manager, main screen
I made an app that generates an alarm at 19 hours, is picking up perfectly, the problem is when I pull this alarm from the Main Activity in Manifest, when I do this, the app no longer generates the…
-
0
votes1
answer100
viewsA service that runs every day in the background on android
Good afternoon ! Perhaps my question does not fit the criteria perfectly because it is another question whether "it is possible or not possible". Here is the problem: I want to create an app in the…
android services background android-alarmmanagerasked 6 years, 7 months ago Eduardo Rafael Moraes 710 -
0
votes0
answers25
viewsProblems with scheduled notifications
I am developing an application that must issue a notification with date and time informed by the user and the notification is not being issued. I’m using Alarmmanager to set the time and another…
-
-2
votes1
answer251
viewsDoes anyone have any idea how to mount a multiple alarm system using the Workmanager library?
I am developing an application that works as "Alarm" to take the medicines at the right time. I am trying to use the "Alarmmanager" Repeating to run these alarms. However, some problems are…
java android android-studio android-service android-alarmmanagerasked 5 years, 3 months ago Andre Alas 54