Open Source • Background Tasks: Itoo 🚀

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
1 Like

Sure, I would fix it within some time.

1 Like

The extension is updated to a new framework core :partying_face:
Fixes the installation errors caused in Android 12+ devices.

About the Itoo Framework

The Itoo framework is a complected program and the core of extension, that establishes a custom app inventor environment in the background process allowing the Components, Events and Procedures to work in the background.

It acts as a middle man in the app, it intercepts all the requests and performs operations accordingly.

However, when any new blocks are added to App Inventor, it wont support it right away and it'll need an update. Like how the previous version did not support Helper Blocks in background processes.

Framework helps in the creation of background extensions specifically for one task and providing interface for accessing procedures.

6 Likes

Not work for me,
in Redmi note 7pro android10.

You have to add the parameter / argument "x".

2 Likes

thanks for help,
but can it poseble to hide running notification?