android-alarms Questions
3
Solved
I set an alarm to repeat everyday.
but it will have a few seconds or minutes error.
How can I make it more accurate?
PendingIntent pendingIntent = PendingIntent.getBroadcast(getActivity(), notific...
Teodora asked 17/1, 2015 at 15:44
3
In my application I have a functionality to trigger alarm in 4 senerios:
Only once for a user chosen date and time
Daily for chosen time
Weekly according to chosen date and time
User chosen custo...
Microdont asked 11/4, 2016 at 14:3
1
I'm trying to use this alarm app on Android Studio - https://github.com/philliphsu/ClockPlus . However, gradle build is failing (error message below). Please let me know what needs to be fixed for ...
Blanketing asked 27/2, 2018 at 12:19
4
Is there a way to get the Alarm Application source code for customizing the existing default source code availble in Android 2.3.
Van asked 29/9, 2011 at 8:41
2
My app has a widget that shows today's date and need to be updated on midnight. The widget is defined in the manifest as
<manifest>
...
<application>
...
<receiver
android:name...
Portfolio asked 5/1, 2012 at 23:39
3
Solved
I am really new to android, I have been researching about alarms. I want to alarm if there is a birthday on that day. I've have used alarm manager. I was confused because i have read that it clears...
Amlie asked 20/8, 2012 at 8:22
4
I am trying to use an alarm manager with BroadcastReceiver. I try to use the example given in Tutorial: System Services and BroadcastReceiver . but when I run the example after the end of the time ...
Calicle asked 29/1, 2014 at 11:28
2
From what I can see, if you schedule an indefinitely repeating alarm it won't stop running until you reboot your device or uninstall the app.
I was wondering, how do these behave in the event of a...
Diastema asked 2/7, 2014 at 0:16
4
Solved
I have implemented alarm in android app. Alarm is working fine. Toast message is visible.
Now I want to make Alert Box Notification to user.
Here is code from ReceiverActivity Class. which I tried...
Papp asked 2/5, 2013 at 6:51
1
I already have an alarm that fires daily which has FLAG_UPDATE_CURRENT. This is the log from developer's console.
java.lang.SecurityException: !@Too many alarms (500) registered from pid 32326 ui...
Garden asked 17/10, 2016 at 7:9
2
Solved
I'am trying to make an Alarmclock App. Currently I'am using AlarmManager. My minSdkVersion is API Level 19.
The Problem is, i cant get an exact Alarm like other apps. For Example AlamDroid in the ...
Suk asked 21/9, 2016 at 12:57
3
Solved
@Override
public void run() {
//Create thread that can alter the UI
AlarmPage.this.runOnUiThread(new Runnable() {
public void run() {
cal = Calendar.getInstance();
//See if current time matche...
Convertible asked 22/4, 2015 at 15:59
1
I need to set a repeating alarm every X hours that would even fire in doze mode. However, the only Apis available in AlarmManager for Android 23 are setExactAndAllowWhileIdle and setAndAllowWhileId...
Radiate asked 31/8, 2016 at 8:54
0
My app fails on android 5.1 version devices with the error below.
How do we handle this case where the device is possibly configured with multiple users?
java.lang.SecurityException: get applicati...
Quarterphase asked 6/5, 2016 at 1:13
1
My project requirement is to schedule multiple tasks very frequently at exact time with delay between 0-5 seconds.
What is the best way to schedule tasks for this purpose? Below are the options I c...
Case asked 21/4, 2016 at 8:55
1
Solved
The reference for Alarm Manager says that
If the stated trigger time is in the past, the alarm will be triggered
immediately.
I am facing this problem in my application. Here is my alarm man...
Hogback asked 10/4, 2016 at 21:8
2
I'm trying to create an alarm based application. I'm using AlarmManager. The thing is that it's not reliable at all. In some devices it works.. in other devices it works somethimes.. and in other d...
Procaine asked 31/3, 2016 at 8:39
3
I am developing an alarm application. From the main activity i set the alarm using broadcast. Then in onReceive in broadcast receiver i call activity that is enabling user to shut down or snooze th...
Minetta asked 1/4, 2012 at 17:23
3
Solved
I want to run some task (i.e. get my web site news page) periodically (once a week/ a day), even if my application is closed. Is it possible?
Cardigan asked 23/12, 2011 at 11:28
1
Solved
What is difference between AlarmManager.setAndAllowWhileIdle() and AlarmManager.setExactAndAllowWhileIdle()? How does these both affect Doze mode introduced in Android 6.0 (Marshmallow) API?
Thomas asked 27/2, 2016 at 5:33
2
Solved
I've made an app that always worked until Android 6.0. I think it's the Doze feature that it's not allowing my Alarm to fire.
I use sharedpreferences to handle the options:
//ENABLE NIGHT MODE TI...
Swerve asked 25/2, 2016 at 13:54
1
Solved
When using AlarmManager to set an alarm, there could be a delay in which the alarm is triggered some time after the specified time unless you set an exact alarm. Is there any guarantee on wha...
Lucchesi asked 22/12, 2015 at 5:33
1
I have developed my android alarm app which need to something every hour(like 1pm, 2pm, 3pm ,4pm ,5pm ,6pm etc).
Now am using alarmManager so that I get a broadCast event every hour.But sometimes ...
Ackler asked 16/12, 2015 at 7:35
2
Solved
I have some Service class, which registers multiple alarms.
In my BroadcastReceiver class, I want the onReceive() method to call some method of the Service class.
However, I don't see how I can b...
Angeliaangelic asked 13/3, 2013 at 11:1
1
I have implemented the alarm manager to wake up the background services every 15 mins periodically. It is working fine, but since the inclusion of DOZE mode Android 6.0, the seems like behaving str...
Sunflower asked 30/10, 2015 at 9:29
© 2022 - 2024 — McMap. All rights reserved.