Notification from app when the app is closed

Hello all, new to the MIT app inventor.

I want to create an app that will make an alarm sound. In very short, i have a device (ESP32) that i am connected to by bluetooth. When this device sends the code “ALARM”, i want my app to make an alarm sound.

I have looked for Taifun extensions, but none of them will make the alarm sound even if the media volume is down. I have my alarms in android that do make the sound.

Also, if the app is closed, i won’t get the alarm sound at all (even if the volume is up).

Is there a way to make this with App Inventor?

Right now, i simply have an alarm sound that plays in the media like this:

image

Thanks for any help!

Is this a BLE device or Bluetooth classic?
Look into the following example, which keeps s connection in the background while the app is closed

Also look into the itoo thread for general background processing

The settings extension is able to modify volume kevels

Taifun

1 Like

Thanks for the info, I will look into those and will report back if I have any issues!