All Questions
93
questions
0
votes
1
answer
182
views
AlarmManager time not being set correctly
I am developing an app where I use an AlarmManager to schedule a time to open an Activity.
The chosen time is picked by a TimePicker.
Despite the time being the expected one when I call the method ...
0
votes
1
answer
55
views
Calendar not returning the correct time
I want to pick a time from time picker and set an alarm using AlarmManager for that time.
When I use when.getTimeInMillis the value returned is different from the time I´ve set.
For example , if I ...
1
vote
0
answers
296
views
AlarmManager SetExact() Is Not Triggering While App Is Not Running - Android
I'm creating an activity logging app, Where it's user can explicitly set a series of time first. On those set times I want to launch one of the activity which need to popup & collect data from ...
0
votes
1
answer
254
views
Is there a way to schedule exact alarms with an AlarmManager on device reboot WITHOUT the user running the app in Android 8+?
After a reboot, calendar apps somehow restore all the alarms without the user having to run the app at any time. I am trying to do the same for a medication reminder app, but the receivers only work ...
0
votes
0
answers
79
views
AlarmManager double triggers
I need the AlarmManager to be triggered after a certain time starting from a given time. I try this
if(mgr != null) mgr.cancel(pendingIntent);
intent = new Intent(App.getContext(), AlarmReceiver....
1
vote
1
answer
105
views
alarm trigger immediately and broadcast receiver methods get called immediately
alarm trigger immediately first time working according to time we set but then whatever the time we set it trigger immediately
alarm code
mCalendar = Calendar.getInstance();
mHour = mCalendar.get(...
0
votes
1
answer
220
views
AlarmManager + NotificationManager not working
First of all I would like to thank you for clicking on this thread.
Thank you so much for taking your time to read this.
I was planning for the application push a notification on a specific time.
I ...
0
votes
1
answer
546
views
Android Java - Alarm Manager Mostly Works Perfect But Sometimes Delayed
I am working on an alarm application. Users can set alarms in the application and some actions have to do when one of the alarms triggered. I used the first alarm manager set method. But only the ...
0
votes
0
answers
21
views
calender.getTimeInMilliseconds does not work with alarm manager object
I want to start a notification at startTime and end at the endTime specified by the user. Also the count of notifications is specified to be shown in the same time slot. I have divided count with ...
-1
votes
2
answers
368
views
date and time not working in Alarm Manager
I'm having trouble working with the AlarmManager. I want to run AlarmManager using Calendar at a specific time.
But the calendar doesn't work and AlarmManager always runs regardless of the time taken ...
0
votes
0
answers
24
views
How can I create any Alarm like for Everyday another job like a Reminder?
I want to create a App like a Daily alarm, for my Maps app. I have to Drive for Mondays at 09:00 am to XXX Street 7, For Tuesday 10:00 am to YYY Street 8, also every Monday 9 uhr I have to get a Alarm ...
0
votes
1
answer
42
views
set repeating alarms within a range and restart the alarms without user interference
I am creating a drinking water reminder application (I've already searched and tried, but I do not see a solution), the idea is for the user to enter a start time, an interval and an end time. Almost ...
0
votes
0
answers
225
views
Android multiple alarms via AlarmManager and Calendar.DAY_OF_WEEK
I am developing alarm application where user can create alarm for a certain time of the day + it is possible to choose days of a week for repeating the alarm.
At first, I tried using following code (...
1
vote
2
answers
273
views
local notification not firing in all devices
I am having a local notification to repeat on every day at a particular time. I tried testing with a few devices and it's only working on a few devices. Please check the code below and shed some light....
-1
votes
1
answer
70
views
AlarmManager not running
I am attempting to create a more complex app but was unable to correctly use AlarmManager to open an activity. I tried distilling the code down just to the essence of what I'm missing is, but it still ...