Description
Alarm Manager Extension to send a notification or autostart the app at a given time or at boot time only once or repeated by interval (15 minutes, half hour, hour, half day, day and week, month and year). After clicking the notification your app will be started. You can define a start text, which will be passed to your app in method 'get plain start text' and trigger some action after your app is started. You also can define several alarms, just use a different id for each alarm. Also of course works if your app is not running.
New in version 2: The defined alarms are not lost anymore and will now be automatically reinitialized after rebooting the device.
New in version 3: new features repeat weekly, monthly, yearly added. AfterAlarm event added. Bugfix updating or cancelling an alarm. Now after an alarm (interval type ONCE) has been triggered it will be removed from database. Thank you Per por being the sponsor of version 3!
New in version 4: "bells and whistles" version: properties small icon, large icon, big picture, big text and color added
New in version 5: Autostart property added including the methods HasAppearOnTopPermission and OpenAppearOnTopSettings. You now can choose if you want the extension to show a notification or autostart the app at the given time.
New in Version 6: new method startAtBoot to start an alarm at boot time (i.e. display a notification or autostart the app)
The extension can be used for devices starting from Android 5 (API 21).
For details, example projects and documentation see here App Inventor Extensions: Alarm Manager | Pura Vida Apps
Test
Tested successfully on several devices starting from Android 5 up to Android 12. Thank you @Anke and @Peter for your tests.
Two test projects are available in Google Play Beta
- Picture Of The Day app, which daily displays an Astronomic picture provided by the NASA API
- Alarm Manager example app to test all features
Available Blocks



Example Screenshots
Price
12 USD, Payment options see my webpage
Note
This extension now also works in Kodular, however unfortunately they introduced a new bug... the block get plain start text can't be used currently, see also this Kodular error report...
Taifun
Trying to push the limits! Snippets, Tutorials and Extensions from Pura Vida Apps by Taifun.