Questions tagged [alarms]
71 questions
36
votes
3 answers
How can I setup multiple alarms in Android?
So far and thanks to this website, I've been able to set up an alarm that will be set up and active, even if I turn of my phone.
Now, I set up a alarm to show a reminder for event A and I need the application to setup another alarm to show another…

monn3t
- 675
- 1
- 6
- 22
30
votes
1 answer
Android AlarmManager after reboot
I have a set of alarms that I need to keep after reboot. I've tried using on an boot receiver but they won't start again. I'm not sure if I understand the boot receiver and how to then restart all the alarms. I already have one receiver for my…

user1281053
- 387
- 1
- 5
- 10
17
votes
3 answers
Multiple calls to AlarmManager.setRepeating deliver the same Intent/PendingIntent extra values, but I supplied different ones
Solved while writing this question, but posting in case it helps anyone:
I'm setting multiple alarms like this, with different values of id:
AlarmManager alarms = (AlarmManager)context.getSystemService(
Context.ALARM_SERVICE);
Intent i = new…

Chris Boyle
- 11,423
- 7
- 48
- 63
14
votes
2 answers
Scheduling alarm every 2 minutes android
In my activity class
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
AlarmManager alarmManager=(AlarmManager) getSystemService(ALARM_SERVICE);
…

user3278732
- 1,694
- 10
- 31
- 67
10
votes
2 answers
Cancelling a single alarm when you have multiple alarms
I have used the same pendingIntent to set multiple alarms using different intentId for each. the alarm is working. Now i want to cancel a particular alarm. If i use the cancel() method i would end up cancelling all the alarms. I want only a specific…

flamesavor
- 139
- 3
- 9
10
votes
3 answers
Get all alarms saved in the alarm application
Is it by any chance possible to get a list of alarms saved in the alarm application of android ? I am making an application which just needs to show the alarms set in the Alarm application.
Thanx

JaVadid
- 7,107
- 13
- 42
- 54
9
votes
3 answers
How can I suspend all audible notifications on the iPad?
We're creating an audio application for iPad (only) which will be used for live performances. The device will be wired directly into the console. As such, the last thing you want during a live performance is to have the device suddenly chirp out an…

Mark A. Donohoe
- 28,442
- 25
- 137
- 286
8
votes
3 answers
Setting an alarm (as in alarm clock) using intents
Since API level 9 (2.3) you can set an alarm using an intent:
Intent i = new Intent(AlarmClock.ACTION_SET_ALARM);
i.putExtra(AlarmClock.EXTRA_HOUR, 9);
i.putExtra(AlarmClock.EXTRA_MINUTES, 37);
startActivity(i);
Is there anyway of setting an alarm…

stealthcopter
- 13,964
- 13
- 65
- 83
5
votes
3 answers
Adding multiple reminders causes them to trigger at the same time
I include here the full problem description because I'm not exactly sure if the logic behind the solution is even correct, but I am pretty sure that it has to do with the way I'm setting the alarms themselves that's causing this inaccuracy, or just…

Odaym
- 1,896
- 1
- 20
- 31
5
votes
3 answers
How to set one time alarm in android
I am doing alarm Project,
I want to set one time alarm.. But i am facing problem to set tat,
My code is;
public void loadCalender(String month) {
try {
Cursor cursor = null;
Database db = new…

Joy Helina
- 378
- 1
- 5
- 17
4
votes
2 answers
Chrome extension API for alarms has method clear that is not working as per documentation
Chrome version is 33.0.1750.154 m.
As per the documentation at http://developer.chrome.com/extensions/alarms#method-clear, the signature of clear method is: chrome.alarms.clear(string name, function callback).
I have an alarm in my extension which…

Shreyas Purohit
- 51
- 1
- 5
3
votes
1 answer
Is it possible for a website to set an alarm on a user's iPhone?
I have limited HTML, CSS and Javascript experience.
However, I am wondering if it is possible to code a simple website that can set an alarm on whatever device the user is accessing the website on by tapping/clicking a button.
A real world example…

Uncle Slug
- 853
- 1
- 13
- 26
2
votes
1 answer
How to store and delete alarms for respective object
i have a little problem and i'll be very gratefull if you could help me. I have an app like a local database for client medicins, when adding an pill he has the posibility to add a reminder when he needs to take that specific pill. He can set only…

Bardas George
- 39
- 3
2
votes
0 answers
Multiple Alarms fired as one in an intent (List View)
Since no one answered my previous question about multiple alarm at the same time in android (Multiple alarms at the same time in Android), I came up with another solution. The problem is how to start this approach.
Here's what I have in mind. My…

Hunter Winchester
- 305
- 3
- 14
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…

Eno
- 10,730
- 18
- 53
- 86