A Creative Alarm App Using MIT App Inventor and BG Tasks iToo Extension

A Creative Alarm App Using MIT App Inventor and BG Tasks iToo Extension

This alarm application, developed using MIT App Inventor, demonstrates the use of the BG Tasks iToo extension to enable background processes for alarm functionalities. The app provides a sleek user interface with modern aesthetics, featuring a clock display, alarm management, and a user-friendly navigation system.






Key Features:

  1. Real-Time Clock Display
    The home screen showcases an interactive clock that updates dynamically, offering users a visual representation of the current time.

  2. Alarm Management

Users can add, activate, and manage alarms with ease.

Once set, the alarm operates in the background, ensuring notifications trigger even if the app is closed or minimized.

A toggle switch allows for quick activation or deactivation.

  1. BG Tasks iToo Integration
    The app leverages the BG Tasks iToo extension to handle tasks in the background. This makes it possible for alarms to work seamlessly without requiring the app to remain active, enhancing user experience and battery efficiency.

  2. Minimalistic Design
    A clean and intuitive interface ensures a smooth user experience. The design is optimized for simplicity, with vibrant colors and clear layouts.


APK file
download it from here


Aia file:
download it from here


This project is a fantastic demonstration of how MIT App Inventor, combined with powerful extensions like BG Tasks iToo, can be used to build professional-grade applications. The app not only highlights advanced programming techniques but also stands as an excellent tool for daily use.

2 Likes

Where's the code?

All I see is an APK file.

1 Like

Nice work with BG exten.

Well, can we have your aia file?

Once it trigger unable to stop it.
Unable to see history of alarams.

it's nice! @Black_Knight
but where is the codes?

This looks great... very nice. .

As you are not using an alarmmanager, your app requires a persistent notification to be displayed while the background process is running, isn't it?

Taifun

I now tried the apk file and can now answer my own question: yes, the following persistent notification will be displayed while the service is running

EDIT: starting from SDK 33 this persistent notification can be dismissed by the user

Usually a user does not like those persistent notifications very much... this is one of the advantages of an alarmmanager, App Inventor Extensions: Alarm Manager | Pura Vida Apps it does not need a persistent notification, because it gets triggered at alarm time from the Android OS...

Also I did not find a possibility to switch off an alarm at alarm time, the alarm plays endlessly at alarm time. I had to uninstall the app to get rid of it again

Taifun

updated the topic with the aia file and the new APK

2 Likes

So, you're spot-on about the user preference and the advantages of AlarmManager in avoiding persistent notifications for alarms. This particular app isn't necessarily intended as the ideal user-facing alarm app. Instead, its primary goal is to:

  • Illustrate how the Itoo extension can be used for background tasks.

  • Demonstrate the level of customization possible with this approach , even if it comes with the trade-off of a persistent notification in this specific implementation.

I have just updated the app to stop the alarm from notifications and from inside the screen while the alarm is running.