Open Source • Background Tasks: Itoo 🚀

blocks
my block i'm using android 10.

2 Likes

No, you cant show AlertNotice or any kind of UI from background.

So how work on boot please show an example.

1 Like

I have to yet update the extension framework, it has not been updated since months.

1 Like

Okay :ok_hand:, update it.

1 Like

Hi all, i am using the ItoO1 extension, but it won't work, what is the problem of my blocks?
11100

2 Likes

It's not your fault, but

so it won't work.

1 Like

try to send a notification for example using the NotificationStyle extension as shown in the first post in this thread

Taifun

4 Likes

Apologies as i know you've had a lot of requests for help but i'm really struggling with my app and have tried sing some of the examples before coming on here.I'm trying to get my app to run in the background as it would when it's active but keep getting a runtime error anyhelp for someone who has no idea would be more than appreciated and will get me out of trouble with work..

2 Likes

Hi, if you are trying to use the location services from background then it is not possible since the android 9. You will have to use Taifun's extension for that.

What extension is that may I ask. Thank you for the help

1 Like

It's this extension, check this out. It also works in background.

is there any free alternatives that you could recommend?

1 Like

unfortunately there is no free locationservice extension available, but you could write your own extension and create the functionality yourself...

more information about how to create an extension see the App Inventor Extensions document
however that will be more advanced and will require some Java skills...

Taifun

PS: see also this comment (by @Italo)

You can start learning all you need to learn to do it, then do it, after long days of trying things, testing and failing, all in your spare time, leaving other things you like to do for this.
Then after all that time and intellect invested, just give it out for free so everyone can make money with it except you.
Sounds awesome right? :thinking:

2 Likes

Doing a Google search will find the following.

i've had a play with the extension and tried Steve's example blocks to no effect, Please see latest attempt below. If someone could just point out what is wrong and what i need to do to solve it that would be great. ive spent hours looking at webpages and trying different ways, could just be me not getting it..

1 Like

@Samuel_Dutton posting the same in different threads is considered as spam... you can find my answer here HOW TO: use LocationService extension with a GoogleSpreadsheet to record real time locations while the app is in the background - #6 by Taifun

Taifun

I've looked at your example aia file and have one question, how do you change the email address from where the data (address and coordinates) originates from, at present its sent to your email by default. if i can figure that out id be one step closer.

1 Like

Is this a question for me? If yes, you are asking in the ItoO thread, which would be off topic for here..

Taifun.

Hi @Kumaraswamy,
please see this thread

and upgrade your extension to SDK31

Taifun

2 Likes