New way to run apps background

Can we create background running apps in http://services.appinventor.mit.edu .


image
image
image

1 Like
2 Likes

I’m interested on this topic, if someone knows about this than please elaborate.

btw here is the blocks

i google it

This is pretty cool, thanks for sharing and only the question is when @KodularCreator will add it?

Did you test it after building @David

Yes, something wired happened :roll_eyes:

Does it only work in companion

i didn’t test in companion but in complied app. i think this isn’t background

You should take a look at my answer here:

1 Like

I thought i could run app in background, so sad.

Hey…! forget about the above my question. I think we can create an alarm manager extension and run a app background
This class provides access to the system alarm services. These allow you to schedule your application to be run at some point in the future. When an alarm goes off, the Intent that had been registered for it is broadcast by the system, automatically starting the target application if it is not already running. Registered alarms are retained while the device is asleep (and can optionally wake the device up if they go off during that time), but will be cleared if it is turned off and rebooted.
Read this article
https://developer.android.com/reference/android/app/AlarmManager
and


and

1 Like

even if this works R.i.p if u close the app from “recent app”

1 Like

Yes it runs

1 Like

nah it didn’t. i have checked them

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.