Good morning;
I've developed a draft alarm clock that will later be included in a much more extensive and complete app.
The problem is that MIT APP INVENTOR2 doesn't have background functionality; I searched online and found ITOO, but I don't know how to use blocks...
I have a list of events that, when compared with the timer that provides the date and time (yyyymmddhhmmss), activates Notifiers that alert me of the event and ask whether to repeat the alert after 10 minutes or dismiss it.
Usually you do not want a persistent notification being displayed for the user while your background process is running, which is required for itoo
Also usually you want to keep battery usage of your device as low as possible... a process running in the background to compare regularly if it is already time to send a notification drains your battery...
That's why usually you would use the alarmmanager functionality of the Android operating system to get triggered at the given time. My paid alarmmanager extension would be able to help...
You forgot argument x in your main procedure
Also what is component Orolstante? You never use it?
I could not check procedure data, because the screenshot is of bad quality
To get an image of your blocks, right click in the Blocks Editor and select "Download Blocks as Image". You might want to use an image editor to crop etc. if required. Then post it here in the community.
Itoo has nothing to do with push notifications
Please use the correct terms to not confuse others
Taifun
Push Notifications:
Definition: These are messages sent from a remote server to a user's device.
Mechanism: They rely on a push notification service (like Apple Push Notification Service or Firebase Cloud Messaging) to deliver the message to the user's device. This means the app doesn't have to be open for the user to receive the notification.
Purpose: They are used for a variety of purposes, including sending breaking news alerts, social media updates, promotional offers, or transactional messages (e.g., a shipping confirmation).
Key Characteristic: The decision to send the notification is initiated by an external server, not by an action happening locally on the user's device.
Hello , Cristiano . Thank you for your patience , and execuse me for my error . I suggest you one thing : If you want to help us , click " Il tasto destro del mouse " and select " Download blocks as image " , so that we can help you better ( And , yes ... I am italian )
OroIstante is the Timer component that I renamed. I'm sorry for the quality of the screenshots; unfortunately, the sequence of blocks was very large, so I had to enlarge the image. It's "x" because I also saw in your blocks that it had been left that way...
This thread is s nice example of how to get lost... at post 75 we were again at the beginning
Also the example is a bit outdated, because it uses the old NotificationStyle extension, which meanwhile has been replaced by MelonNotification
And the alert me example contributed by @Gino_Enzini is an old App Inventor Classic project (which is around 12 years old), almost as old as @Gino_Enzini himself... and that project is about receiving a text message in the background...
Ok . My error ... @Cristiano_Stefani , I'll make an application from scratch and I'll send that to you in this " chat " . But for now I sughest you one thing : Create the app like you want , and for the push notifications we will think later