Background Tasks extension [3.8 A] πŸ₯³

probably the the first post? -
Background Tasks extension [3.8 A] :partying_face: - Extensions - MIT App Inventor Community

2 Likes

(added to FAQ)

5 Likes

Hello! I'd just want to ask if I could use this extension to send notifications to my phone (while the app I made from MIT is in the background or the screen is off) when temperature values (coming from FirebaseDB) have exceeded a certain threshold? I've been reading the whole thread and I'm kind of getting lost, sorry about that. And thanks as well :grin:

2 Likes

If you can show me how to make a simple alert (without changing the caption) to anyone who has installed the app every time one of the users clicks the button
Thank you

1 Like

And what type of alert? More like a notification?

1 Like

If you mean a notification, try Push Notifications.

1 Like

Hello there,

I'm trying to build an App, which is running in the background and fires a notification at a given time, or a specific Countdown (which the user isn't choosing) runs out. Then a Button with a Hyperlink should appear and a new Countdown/time intervall should start, for 5 times a day and 7 days in a row.
I hope it is understandable, what I mean.
Did anybody build smth like that ?
Is it possible to use the Alarm Manager in Combination with the backgound task Extension?

Thank you very much, already!

You can use it to show a notification at specific time, extension has inbuilt alarm manager ability, and not sure about the button, how are you going to show the button with the hyper link?

1 Like

hey could you provide a tutorial how to get it work , there is no startservice is exist in 3.8 how we can make the task start

image

i dont know how to use this block

image

Please do not post the same thing in two posts, and wait for the OP to respond patiently.

1 Like

somehow i figure out to get it work, only have one problem the background task is not starting after reboot device

Please search kodular community for the special version of the extension, due to exams, I cant be online all time.

1 Like

Hi, thanks for your extension!

I need to define a check if there are any alarms to notify the user.
I have already defined this control via a Rest API call.
How can I define looping in the background, for example, every hour?


I am a novice, can you give me some advice on how to implement this?

Hi Mauri, if you want to use loops (in the blocks), then you may look at this extension:

This also works on AppInventor :sweat_smile:

1 Like

I can't use the extension, because I don't understand, where I find the ID of a component.

You have inserted in your project .aia, a "Notificationstile" component what is it, where can I download it, or how can I replace it?
If I can replace it, can you tell me with which object, and how to insert it in the project?
Because, I copied your blocks, transferring them to another app, but without that component, I can't go on.

Hi, I would like to create an app that reads latitude and longitude in background. I don't know how to create the function that reads the gps values, would anyone know how to help me?

One way but not using the Background Tasks extension: HOW TO: use LocationService extension Version 1 and Version 3 with a GoogleSpreadsheet to record real time locations while the app is in the background shows one way to read the gps coordinate values and a way to save those coordinates.

You might wish also to read Background Tasks extension [3.8 A] πŸ₯³ - #38 by SteveJG with respect to doing something with the Background Tasks extension.

I have an app that connects to a BLE device, grabs data and writes to a file.

Right now this occurs once when the app is opened and whenever the scan button is pushed.

I need to have this run in the BG every Nth minute when the phone is asleep.

Any help would be appreciated! Thanks!

Hello everyone,
I made an application for the management of awnings. Now I wanted to have the notification when the curtains went up or down. I was unable to use the extension. It doesn't work in the backgroud. Do you have an example of an event screen notification?
Tiziano

Hi to all,
I am sorry but I do not understand how this work.
Sample application will be a beautiful start for everyone. Can this be achieved?
For example:
START BUTTON - start TASK with 10 minutes ALARM or repeat alarm - timer/delay/latency
after 10 minutes NOTIFY MESSAGE show on screen - even if display is dark, app closed ...
every 10 minutes APP show screen with STOP button.

I know that with this simple app everyone will be able to satisfies their needs and all GLORY will go to CREATOR of this extensions.

I write this because, I have special request for this extension. My father is 83 years old, taking 11 pills for his heart daily and he as well as all of us within family will be very happy if his phone can ring, vibrate or whatever action can be taken at set time.

Is there anybody can provide simple app with one task and start and stop button?
I did try to do it, but without any success, even not see that task is running!
Thanks,
Damir