Questions tagged [alarmmanager]
Android class providing access to the system alarm services.
alarmmanager
4,605
questions
0
votes
0
answers
11
views
I have implemented the code to raise local reminder notification everyday at specific time. On Android 14 phone not able to receive this notification
Below is my code snippet.
AlarmManager alarmManager = (AlarmManager) context.getSystemService(Context.ALARM_SERVICE);
android.icu.util.Calendar calendar = android.icu.util.Calendar.getInstance(...
1
vote
0
answers
89
views
Android service started via AlarmManager in called only once
I have a mobile app that runs a certain SOAP operation every two minutes. However, I have problems with time delays when it went into deep sleep.
From the previous 2 minutes, the delay could increase ...
-1
votes
0
answers
29
views
How to bring application from background to foreground using flutter
Is anyone have an idea on how I can bring my android application from background to foreground?
I working on an alarm app and I need to show a specific page of my app where the user can click the ...
0
votes
1
answer
37
views
Alarm manager send two notifications instead of one
I have a problem with my alarm manager. My app is sending notifications about meals, i have 4 meals(breakfast, lunch, dinner, snack) and time pickers for them. If i set time for 1 meal, it will send ...
0
votes
1
answer
54
views
BroadcastReceiver onReceive not triggering with AlarmManager setExact
My application is meant to send a notification after a certain interval, but the onReceive is not being triggered in my BroadcastReceiver when I use AlarmManager. I have stripped the code back to find ...
0
votes
1
answer
260
views
Error related to AlarmManager permission.SCHEDULE_EXACT_ALARM or android.permission.USE_EXACT_ALARM
I have an related to AlarmManager:
receiver.BootCompletedReceiver.onReceive. Someone help me fix error, this occurs when user update app on Android 14? Thank u very much
Exception : java.lang....
0
votes
1
answer
47
views
my app does not send the notifications in scheduling on android studio
I've been working on this project for a few days, and either it sends a notification at the moment I schedule it or never. As it stands right now, it creates the channel and the notification, but it ...
0
votes
1
answer
45
views
Alarm Manager Trigger Only Once Not On Every 5 Mint
I have a scenario, where I do get Gps coordinates on every 5 minutes. For this I am using Alarm manager. But I got sucked since yesterday as Alarm Manager triggered only once and it's not repeating ...
0
votes
0
answers
25
views
Alarm manager but it should only work when the app is being used
I've worked with AlarmManager before but I only use it for when I want to run a code that is time specific when the app is not being used. Is there a way to create an AlarmManager that runs a code ...
0
votes
1
answer
49
views
is there a way wake up my android app daily at 12 to run a bit of code
is there a way wake up my android app daily at 12 to run a bit of code like in alarm receiver but exactly at 12 mine runs late like 10min to hours
Calendar calendar = Calendar.getInstance();
...
1
vote
1
answer
129
views
Android AlarmManager fails to deliver alarm created with setExact if application is not running
As per Google documentation. https://developer.android.com/reference/android/app/AlarmManager.html "the Alarm Manager is intended for cases where you want to have your application code run at a ...
0
votes
1
answer
78
views
AlarmManager not working properly as intended
I want to create an app that runs a specific code one a day.
I asked here in stackOverflow and they told me that alarm manager is the right way to go. So i used it and came up with this.
...
0
votes
1
answer
100
views
PendingIntent error in FLAG_MUTABLE and FLAG_IMMUTABLE
I am creating a java android application where my app runs a series of codes at midnight, everyday.
This is actually a continuation of my question here: Is Foreground Service the only option for ...
0
votes
0
answers
16
views
Android Chronometer's onTickListener inside Widget
Widgets allow to use Chronometer through RemoteViews. However, I see only a constructor and count down mode change there. No setOnChronometerTickListener, unfortunately. I wanted to fire UI update ...
0
votes
0
answers
63
views
Create alarm in react-native
I'm very new in react-native, i come from react and to get started in this i started with an alarm app, my problem is that there is little information or is very old and i have not found a way to make ...