Questions tagged [alarms]
71 questions
2
votes
2 answers
Best strategy to implement this behavior in Android app?
In my Android app, I have some data that needs to be synced daily but also needs to be updated every hour when a user is inside the app.
I have already implemented a service that gets called from an alarm for the daily update. Im having a problem…
![](../../users/profiles/246793.webp)
Eno
- 10,300
- 18
- 51
- 83
2
votes
2 answers
why receive_boot_completed doesn't work on my device?
i am developing some app need to use receive_boot_completed on rebooting to reset some alarms
it 's working properly on emulator and Samsung tab 2 10.1 .. but it isn't working on my galaxy mini device with android version 2.2.1 !!!
this in my code…
![](../../users/profiles/1731660.webp)
eng.ahmed
- 805
- 3
- 15
- 35
2
votes
3 answers
What is the proper way for implementing an alarm that runs once, but stays alive after reboot?
In my app, I have an alarm set that when run, launches a service that will perform a task (in my app, it is sending a text message without user interaction). This message can be set for 2 hours in the future, or a year in the future. Here is how I…
![](../../users/profiles/1209699.webp)
BriCo84
- 871
- 1
- 8
- 10
2
votes
1 answer
Using android alarms vs timer tasks?
I have a requirement where I need to read only 100 entries per day from an excel file. The file can have thousands of records.
I wish to create the system in android where a scheduled service will run every day at a pre defined time and read the…
![](../../users/profiles/1158233.webp)
1985percy
- 383
- 1
- 4
- 8
2
votes
1 answer
perl alarms not working as expected
I have a simple perl script that calls a shell script which always "hangs" when called from the browser. I want to simply force a time out after 20 seconds. When I run it in command line there is no issues. But when I do it from the browser, the…
![](../../users/profiles/1750930.webp)
user1750930
- 25
- 4
2
votes
0 answers
Android: how to set up multiple alarms
i have to set 3 different alarms simultaneously but i am currently trying out to work for two alarms. i have followed tutorials like this one Android: Multiple Alarm not working?
but none worked, IM ONLY GETTING 1 ALARM INSTEAD OF 2. please help me…
![](../../users/profiles/1711113.webp)
Pb Flores
- 35
- 2
- 10
2
votes
0 answers
How to set a reminder in through AlarmManager in Android
I want to make reminder in my Android application. I have taken date-picker and time-picker and stored the time and date in an SQLite database. Now I want to compare the date and time values from the database with the system date and time to provide…
![](../../users/profiles/1511022.webp)
Himanshu
- 107
- 2
- 5
2
votes
2 answers
why does get the extra data always return null?
I'm working on alarms for medicines and appointments … when i set an alarm i put extra data to use them later when the alarm go off….
here is some code to set a medicine alarm in my public class AlarmUtil :
private static void…
![](../../users/profiles/1334517.webp)
Ysak
- 33
- 1
- 5
1
vote
1 answer
Get the list of enabled alarm using default sdk?
I've been seeking how to simply get a list of all enabled alarm.
So far I found two things:
String nextAlarm = Settings.System.getString(getContentResolver(),
Settings.System.NEXT_ALARM_FORMATTED);
And this project but it uses:
public static final…
![](../../users/profiles/848039.webp)
zipp
- 1,046
- 13
- 26
1
vote
2 answers
Manage multiple alarms in the broadcastReceiver
I have searched everywhere to find answers to my question. I
I have created one alarm in my PreferenceActivity and it functions with my broadcast receiver who display a simple notification. But when i want to set multiple alarms, i don't know how to…
![](../../users/profiles/3196253.webp)
Mohamed QARA
- 23
- 4
1
vote
0 answers
Run method when Android Alarm goes off
I have made an app that talks over Sockets to a Raspberry Pi. The app just sends open/close message to the Raspberry Pi which in turn opens or closes my blinds. I want to add a setting to the app that will automatically open the blinds when an…
![](../../users/profiles/6534947.webp)
Lewithium
- 11
- 1
1
vote
0 answers
is there a way to set the system timer in swift
using Xcode- and swift. I can't find anything at all in any search. I'm looking to set the system-level timer. I already know how to do NStimer... that's not what I need. I just need to be able to set the system timer. Also, I've already been…
![](../../users/profiles/4997810.webp)
Steve Colwill
- 11
- 1
1
vote
0 answers
Can we play alarm ringtone using EventKit?
After searching a lot, I did not get any idea to play alarm tone/music when an event fires. By using EventKit I can only get a alert when the event is fired but there is no alarm music. So Can anybody let me know is it possible to play music/alarm…
![](../../users/profiles/1850651.webp)
Janmenjaya
- 4,030
- 1
- 19
- 39
1
vote
2 answers
construct setting page in windows phone 8
I am developing on alarm based application
I want to add one setting page to my app. I want to change image of Image control which is on my Mainpage. image should be changing when button click event occurs from setting page. All Images are stored in…
![](../../users/profiles/3705770.webp)
sohan vanani
- 1,417
- 1
- 17
- 37
1
vote
1 answer
How to slave the Honeywell Tuxedo Touch to OpenHAB?
I have the Honeywell Tuxedo Touch and it supports Z-Wave technology. How can I slave the Tuxedo alarm panel to OpenHAB (also supports Z-Wave) running on Raspberry Pi? Or do I need to slave OpenHAB to the Tuxedo? What hardware would be needed to do…
![](../../users/profiles/2486242.webp)
Seth Eden
- 975
- 2
- 14
- 37