android-alarms Questions
1
The accepted answer to How to read "adb shell dumpsys alarm" output is a masterpiece.
However, later Android versions added fields that I do not understand.
Here is an example of an Andro...
Ronnaronnholm asked 29/2 at 7:59
5
Solved
I have an Android app on Play store for 8 years. Recently Google release Android S or 12 introduce some limit with Foreground service launch restrictions
https://developer.android.com/about/version...
Hardener asked 8/2, 2022 at 9:1
4
Solved
I'm trying to implement an Android app that needs to alarm (or to alert) multiple times along the time.
I've already searched, but the nearest I found was a fixed-number of alarms set, and I guess...
Birkenhead asked 8/10, 2012 at 16:31
1
Solved
My app, already published on Google Play and currently targetting Android 12, is an alarm clock app. In the latest release, I have used the SCHEDULE_EXACT_ALARM permission and also handled checking...
Windsor asked 6/10, 2022 at 10:5
5
I'm trying to create an android full screen notification to show an activity over the lock screen, like an alarm clock.
The notification always occurs, but the activity is never started over the l...
Delorenzo asked 4/3, 2020 at 22:59
1
I want to show snackbar to user, if he has Alarms & Reminders turned off in my App (since Android 12 its mandatory to have this settings enabled in order to register Alarms for example to fire ...
Roseliaroselin asked 10/12, 2021 at 13:3
3
Solved
I'm doing an alarm System but i've a problem when the phone is turned off.. The alarm doesn't work..
I'm setting de alarm as follows:
public void doIntents(Context context, long milis, Tratam tr...
Heighttopaper asked 2/9, 2012 at 5:22
3
I am trying to set a fullScreentIntent using NotificationCompat in android 10 when the alarm goes on but the fullScreenIntent is not showing even when the alarm goes on.
I added USE_FULL_SCREEN_IN...
Botulinus asked 23/12, 2019 at 16:36
4
I am trying to make an alarm fire in my app every 30 minutes using Alarm Manager's setExactAndAllowWhileIdle but it is not working!
I test the functionality by issuing a push notification whenever...
Sasin asked 13/7, 2017 at 11:27
3
Solved
Although this question might have been asked before on Stack Overflow, I still haven't found a clear answer.
I want to show a notification everyday at 12pm for example even when the app is closed....
Trilbie asked 10/10, 2015 at 14:34
5
I am trying to run IntentService as such from AlarmManager setRepeating() for every half an hour. I want to send a to broadcast, from broad cast to intent service. In the service, some functionalit...
Scudo asked 28/9, 2016 at 6:33
5
Solved
What are the parameters of the following:
alarmMgr.setRepeating(AlarmManager.RTC_WAKEUP, calendar.getTimeInMillis(),
AlarmManager.INTERVAL_FIFTEEN_MINUTES, alarmIntent);
And of the following: ...
Volkman asked 20/1, 2014 at 11:35
7
We are currently developing an Android app that is a fitness-tracker application. It runs constantly in the background, and it works fine on most devices, but we've been having issues with the appl...
Duntson asked 25/4, 2016 at 20:8
3
Solved
This is my Activity code,
Long time = new GregorianCalendar().getTimeInMillis()+20000;//Setting alarm after 20 sec
Intent intentAlarm = new Intent("alarm");
intentAlarm.addFlags(Intent.FLAG_ACTIVI...
Expiate asked 20/12, 2015 at 7:5
2
I scheduled alarm using Calendar class as below
Calendar cal = Calendar.getInstance();
cal.set(Calendar.HOUR_OF_DAY,1);
cal.getTimeInMillis();
cal.set(Calendar.MINUTE,05);
long TriggerMillis = ca...
Ainslie asked 25/1, 2014 at 19:42
6
Solved
I need to trigger a block of code after 20 minutes from the AlarmManager being set.
Can someone show me sample code on how to use an AlarmManager in ِAndroid?
I have been playing around with some...
Foolproof asked 4/7, 2009 at 15:41
2
I am a little uncertain as to how I could go about doing this task and was hoping for some clarification.
The APP: It reminds people to water their plants and the user can specify how often they w...
Masha asked 18/12, 2019 at 13:13
5
Solved
A few years ago, I wrote an alarm app that worked on Android 2, and I'm now trying to upgrade it to work on Android 4. Specifically, on the Samsung Galaxy S4.
On Android 2, if the phone was sleepi...
Majoriemajority asked 25/9, 2013 at 11:23
0
I'm implementing a simple alarm system into my Android app using the built-in alarm clock app. I can create an alarm easily using ACTION_SET_ALARM and that works, but I need to be able to dismiss s...
Gulgee asked 15/7, 2019 at 8:43
1
Solved
I maintain an Alarm Clock application as a hobby which I have recently started to migrate to the target API level 26. Because of the background service limitation my app does not work reliably anym...
Kirsch asked 24/1, 2019 at 9:10
2
I have the below code to set up an alarm from my app.
Intent intent = new Intent("MY_ALARM_NOTIFICATION");
intent.setClass(myActivity.this, OnAlarmReceive.class);
intent.putExtra("id", id);
Pend...
Exaggeration asked 19/10, 2013 at 11:0
1
Solved
I'm building an alarm application which will have an exact repeating alarm.
Seeing how for Repeating Android provides only Inexact alarm with possible delay of 75% of chosen interval, I've tried m...
Vermicelli asked 2/1, 2019 at 11:53
2
Solved
I'm testing my application on Android P beta release 4. My app's targetSdkVersion is 27
It has been observed that alarm manager notifications are not working as expected. I'm using below code to s...
Agna asked 30/7, 2018 at 5:26
2
I want to start a JobScheduler at a specific time everyday, and finish it after 3 hours.
I have the part of triggering the job every 20 min, and for 3 hours, but in JobInfo.Builder class there's ...
Roentgen asked 11/7, 2016 at 7:27
2
Solved
I have an Android application that has a service that runs in the background, communicates with a remote server and displays notifications to users if needed. The app also has an activity for users...
Arrestment asked 25/7, 2012 at 20:31
1 Next >
© 2022 - 2024 — McMap. All rights reserved.