App Inventor Extensions

Alarm Extension

See the App Inventor Extensions document about how to use an App Inventor Extension.

For questions about this extension or bug reports please start a new thread in the App Inventor Extensions forum. Thank you.

For feature requests please contact me by email. To be a sponsor of a new method already is possible starting from only 10 USD! With your contribution you will help the complete App Inventor community. Thank you.

Aug 26th, 2016: Initial Version released


This extension enables you to set an alarm programmatically for devices > API Level 9, Android 3.0 (Honeycomb).
Required permission:
Note: You will have to build the app to be able to test it, because the companion app does not offer the required permission.


Returns whether user interface should be skipped.

Specifies whether user interface should be skipped. Default is true.


Set alarm.


Event raised after setting the alarm.

Example App: Set Alarm


Note: you have to build the app to be able to use this method!

Questions and Answers

Q1: I find it a bit strange that your error messages say something like "hour should be < 24" while you just test for the text field being empty.
A: Yes, you are correct. The better solution is to check for empty string and additionally for hour < 24 and minute < 60.

Q2: How can I set an alarm for some date and some hour and minute?
A: Unfortunatly this is not possible, but I can add a method to set the weekday for repeating alarms. You will need min. API Level 19 (Android 4.4) for that. In case you are interested in that feature, please contact me by email. Thank you.

Q3: Is it possible to cancel an alarm?
A: To cancel an alarm just use the activity starter together with the following blocks (min. API Level is 24), see also here.

Q4: Is it possible to add Date and year range for repeat to the alarm , so i can make a birthday reminder app ?
A: Unfortunately the AlarmClock API does not offer these features, see also here.

For questions about App Inventor,
please ask in the App Inventor forum.Thank you.

Terms and Conditions


Developing and maintaining snippets, tutorials and extensions for App Inventor takes a lot of time.
I hope it saved some of your time. If yes, then you might consider to donate a small amount!

Donation amount:

or donate some mBTC to Bitcoin Address:

Thank you! Taifun

Download TaifunAlarm extension (aix file)
Download Set Alarm Test (aia file)
Back to top of page ...

Creative Commons License
This work by Pura Vida Apps is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License
with attribution (name=Pura Vida Apps and link to the source site) required.

Home | Snippets | Tutorials | Extensions | Links | Search | Privacy Policy | Contact