Questions tagged [alarm]

Anything related to the design and implementation of alarms. An alarm is a form of man-machine interaction where the attention of the user of an application or a system is attracted using an audible, a visual or some other kind of signal (or a combination thereof) in order to make the user aware that some event has happened.

Anything related to the design and implementation of alarms. An alarm is a form of man-machine interaction where the attention of the user of an application or a system is attracted using an audible, a visual or some other kind of signal (or a combination thereof) in order to make the user aware that some event has happened.

1509 questions
21
votes
8 answers

How can we play sound alarm after command is done on Mac terminal?

When we run a command that takes a while such as source compile or brew upgrade, we usually do other things such as web searching rather than watching the command running the whole time. Is there any possible way that I can get notified once the…
ronnefeldt
  • 2,083
  • 23
  • 24
17
votes
3 answers

Create an (repetitive high pitch) Alarm on a remote trigger when App is not running (iphone/android) just like Find My iPhone

I would like to cause an alarm on a remote iphone/android device when the app is running or not running. How do I achieve it ? I can only think of Whatsapp/Skype when there is incoming call, its ringing. Or would it be possible to cause the phone to…
Axil
  • 3,606
  • 10
  • 62
  • 136
16
votes
2 answers

Android: How to repeat a service with AlarmManager every 15 minutes, but only run from 8:00AM to 18:00PM?

I need to check data update periodly, but the data is only updating during the daytime, so I want this repeating action run only in that time section for saving battery and bandwidth. What should I do?
virsir
  • 15,159
  • 25
  • 75
  • 109
15
votes
3 answers

How to set alarm when mobile has been idle using android?

Hi I want to set alarm when the phone hasn't been touched. If the screen hasn't been touched for nearly 2 minutes, the alarm sound would be raised. How can I do this? Can anybody help me? Thanks in advance.
malavika
  • 1,331
  • 4
  • 21
  • 54
14
votes
1 answer

Alarm Functionality In ReactNative For Android And iOS

I want to make app that play music every day at specific time (for example : 07:00) even if the app in background or turned off I had done it in android with Java & Android SDK using Alarm Manager , i'm looking for something like that for…
Ali Faris
  • 17,754
  • 10
  • 45
  • 70
14
votes
5 answers

which permissions an android application need in order to use the Alarm Manager Service?

If an android application wants to use the Alarm Manager Service, then which permissions the application needs to have? I have tested that it seems that application does not need to have any permission to use the Alarm Manager Service. Is that true?
tomtu
  • 181
  • 1
  • 1
  • 6
13
votes
1 answer

AlarmClock for Beginners - Android

I'm quite new to Android but already have some experience with Java itself. Now I'd like to set up an App that asks for time and date and then sets up an alarm clock. I already looked through the google apis and lots of other stuff, but either I…
michaelbahr
  • 4,837
  • 2
  • 39
  • 75
13
votes
3 answers

What is sigaddset used for?

I have this code where I use sigaddset and sigaction. However if I comment segaddset the result is the same struct sigaction act; act.sa_handler = process_alarm; act.sa_flags = 0; sigemptyset(&act.sa_mask); …
NeDark
  • 1,212
  • 7
  • 23
  • 36
13
votes
1 answer

iOs 8, start playing sound when in the background, alarm clock app

I know there are many questions on SOF, but this is the "newest" one. The thing is, I'm trying to create and alarm app, and I know for a fact that there are alarm apps out there that works perfectly ( somehow ), even if the app is not running and is…
Nour Helmi
  • 705
  • 1
  • 6
  • 17
12
votes
3 answers

How to schedule my android app to do something every hour

I want my app to access database every hour and read next record from the table then update desctop widget and send notification. I know that there is AlarmManager which I can use to register my Intents but they are deleted when the phone is turned…
Marqs
  • 17,800
  • 4
  • 30
  • 40
12
votes
3 answers

How should I clean up hung grandchild processes when an alarm trips in Perl?

I have a parallelized automation script which needs to call many other scripts, some of which hang because they (incorrectly) wait for standard input or wait around for various other things that aren't going to happen. That's not a big deal because…
brian d foy
  • 129,424
  • 31
  • 207
  • 592
12
votes
3 answers

Where can I find the time picker view of the native alarm clock app of android?

I am looking for the circle shaped view, which allows you to pick the hour and after that the minutes for the alarm. Both, the possible numbers are distributed in a circle. I couldnt find that view in the native API, is there a chance to use this…
alm
  • 121
  • 1
  • 4
12
votes
1 answer

Setting a new alarm in Apple's Clock App from another application

I have searched for references to this and have found a few teasers, but nothing comprehensive. I'm looking for a way to set up (and, perhaps delete, although not absolutely necessary) a new alarm in the actual IOS Alarm Clock application from a new…
Scott Hurd
  • 121
  • 1
  • 3
11
votes
4 answers

Android Alarm What is the difference between four types of Alarm that AlarmManager provides and when to use what?

I want to know the difference between RTC, RTC_WAKEUP, ELAPSED_REALTIME, ELAPSED_REALTIME_WAKEUP. I want to write an alarm application where I will set alarm and close my application and expect for alarm for the time set. There will be multiple…
Shaista Naaz
  • 8,281
  • 9
  • 37
  • 50
11
votes
1 answer

Android AlarmManager problem with setting & resetting an alarm

I use an Alarm to fetch data from server. I like to give user the option to start and stop the alarm. This means I have to check and see if alarm is already set. I found some code that tells me if the alarm is already set: Intent I = new…