Questions tagged [alarms]
71 questions
1
vote
1 answer
Re-enabling the Android Alarm
I am having one alarm that can be created by the user and can be disabled by the user.
When user disables the alarm, I simply cancel the alarm using AlarmManager and store the alarm time somewhere.
Now, when the user re-enable the alarm, I create…

MCA Shah
- 405
- 1
- 4
- 10
1
vote
2 answers
d3.js Throbbing marker points on a map
I'm building an application that will plot markers on a map - and have alarm rings animating smoothly from the markers.
The markers will have the following properties
size
x coordinate
y coordinate
alarm rating
if the alarm rating is low - I want…

The Old County
- 89
- 13
- 59
- 129
1
vote
2 answers
d3.js drawing circles with throbbing outer lines
I am trying to create something similar to this
http://demo.joostkiens.com/het-parool-4g/
Where the plotted circles have outer lines throbbing outwards.
This is my demo so far.
http://jsfiddle.net/NYEaX/95/
I've plotted the circles with some dummy…

The Old County
- 89
- 13
- 59
- 129
1
vote
2 answers
Saving alarms to database and resetting (restarting) after reboot
I want my alarm(s) to resume/restart after the device is rebooted. After a lot of research on Google I found that it doesnt work without saving the alarms to the database. I have 2 questions:
2.How am I supposed to read the alarms from the database…

who-aditya-nawandar
- 1,334
- 9
- 39
- 89
1
vote
0 answers
why Boot completed doesn't work after reboot?
i have some app using alarms and i do some code to reset all alarms from sqlite when reboot device but there aren't anything happen when reboot .. what is the wong ?
this is my code :
manifest.xml

eng.ahmed
- 905
- 4
- 16
- 38
1
vote
1 answer
Trouble with OpenStack Ceilometer client
I try to get meters and notifications from OpenStack. For this purpose I want to use Ceilometer (via ceilometerclient). I wrote some code to test these possibilities.
import keystoneclient.v2_0
import ceilometerclient.v2 as ceilometer
class…

Sergey Simonenko
- 23
- 9
1
vote
1 answer
how can i get the clock alarms in android
i want to get the alarm in the Clock Application in the mobile iam using the following code
Uri uri = Uri.parse("content://com.android.deskclock/AlarmClock");
Cursor c = mContext.getContentResolver().query(uri, null, null, null,null);
…

AnasBakez
- 1,230
- 4
- 20
- 36
1
vote
2 answers
Android alarms, service as not been called
In my activity:
Intent myIntent = new Intent(this, MyAlarmService.class);
pendingIntent = PendingIntent.getService(this, 0, myIntent, 0);
AlarmManager alarmManager = (AlarmManager)getSystemService(ALARM_SERVICE);
Calendar calendar =…

marceloamx
- 108
- 2
- 12
0
votes
1 answer
two alarms set at same time
in my application users are free to select time and date to set alarms .
What will happen if user choose exactly the same date and time for two alarms.
I am taking input from user(for date and time) and setting the alarm.
GregorianCalendar …
user1190451
0
votes
2 answers
cancel a particular alarm
I am setting alarms at diffrent time . I want to delete a particulat alarm.
Ex. I set 100 alarms at diiferents times , now I want to Delete an alarm set at 25 Feb 2012 10.45 AM. How Can I do that.
I written following code to set alarm.
final…
user1190451
0
votes
3 answers
AlarmManager.set(...) behavior not matching documentation. Am I doing something wrong?
I'm setting up alarms using this code
//in onCreate()
mAlarmManager = (AlarmManager) getApplicationContext()
.getSystemService(ALARM_SERVICE);
//called for each timer I schedule
Intent intent = new Intent…

Chris Bye
- 1,028
- 7
- 17
0
votes
3 answers
Best approach to Triggering Event on SQL database
Quite simply I have a SQL database with a .net front end and I need to set off event's when an specific time is reached . I call them alarms , so a user can set an alarm for say 12:30am on x day and when that time is reached on x day a popup would…

user685590
- 2,464
- 5
- 30
- 42
0
votes
0 answers
Why alarms are not working when setting for next day and for long hours,when device is inactive for long duration the alarms are not fired
Calendar calendars = Calendar.getInstance();
calendars.setTimeInMillis(System.currentTimeMillis());
calendars.set(Calendar.HOUR_OF_DAY, hour);
…

Nikita Kurliye
- 11
- 2
0
votes
1 answer
AlarmManager.setAlarmClock throws alarms at wrong time?
I'm working on an app based on programming alarms with AlarmManager.setAlarmClock method. It mainly works, but in some cases alarms are thrown at a wrong time.
For instance, in a Samsung device with android 5.1, I set 3 alarms at:
18:00
22:00
6:00…

Quim Motger
- 1
- 1
0
votes
1 answer
Send an email when an alarm is cleared
I've been working with alarms/rules and the email plugin, but still couldn't figure out how to send an email when an alarm is cleared.
I did see that there are flags to be used in the "email plugin action", but don't understand how they work.
Has…

Rodrigo Honorio
- 13
- 5