[FREE] Background Tasks: Itoo

Itoo 3

The newer version of Itoo now has updated ItooX framework which runs more reliably across all platforms, devices and Android versions.


Itoo supports two types of services.

  • Foreground

    • keeps the service alive throughout the session without interruptions.
    • a permanent notification will be displayed throughout the session from Oreo.
  • Background Task

    • unlike the foreground task, it is executed on a different process.
    • vulnerable to unexpected / sudden shutdown by the system (especially Samsung, Xiaomi devices).
    • the running task should be completed within 10 or 30 minutes depending on the Phone brand.
    • it is possible to restart the service from then, by setting the restart property to true.


  • Create a foreground process


    • A block that will create a singleton instance of the foreground service.
    • the process never ends, unless killed by user / system.
    • procedure: procedure to call when foreground is started.
    • title and subtitle: right now, the extension supports to only change title and subtitle of the foreground notification.
  • Create a Background Process


    • A block to create a normal background service that should finish within 10 or 30 minutes.
    • latency: the time delay before the start.
    • jobId: the id of the background service.
    • procedure: procedure called when the service is started.
    • restart: specify true if the background process should be looped.
  • Ends the current foreground/background service, can be called both from inside/outside the background service


  • Check if background process is running


    • jobId the Id of the background service.
  • Cancel the background service


    • jobId the Id of the background service.
  • Create with trigger

    • the above block calls a procedure when charger is connected to the phone.
    • the extension can also listen to actions, when the certain action is performed, the respective procedure gets invoked.
    • action: Intent action as a string.
    • procedure: procedure to call when the action is performed.
  • Register events


    • eventName: component name and event name combined, like Clock1.Timer.
    • procedure: procedure called when the event is invoked with the args.

Version 2.1 Changes

  • Added methods to store values



    • They are like Tiny DBs of Itoo, these blocks can be used in the background services, especially for non-foreground services to store and fetch properties. They provide special connectivity between services and and the application realtime.
  • Added Boot Receiver Block
    The functionality has been reintroduced.


Version 3 Changes

  • Added a way for one way communication b/w foreground/background process


    • Registers a broadcast with a name and a procedure as a listener.
    • In simple, this will listen to a particular event that will be sent by the application outside the foreground/background service.
    • Corresponding procedure must include an argument that will contain the message sent.
    • To be used inside the foreground/background service.
  • Broadcasts a message to the foreground/background service, message can be anything


  • Unregisters the broadcast listener previously registered


  • Returns true if a foreground process is active


There are a lot more changes internally :-) but simply not relevant to know


Notification every second

Notification when charger is connected.


The framework (!not open source) is the core of the extension, it creates a custom environment, creation of components, handling of procedures and events.


Both framework and extension is closed source.

Download: xyz.kumaraswamy.itoo.aix (62.8 KB)


It takes a lot of time to develop, maintain and update the extension time to time.
Especially the itoo-framework.

You can support me via

Stripe, PayPal


Do not ask for me to help you with preparing blocks, unless you have tried something.

Please do share what you have achieved with the extension :wink:


Background Tasks extension [3.8 A] 🥳
Can I use the background?
Ping a web server every 10 minute
Help with Time duration
How do you use timerpicker for firebase to start/stop specific task?
Test low battery, advise by voice
Text to speech component in Background
How can we I get and compare the values of 2 tags in my database when firebase data changes?
Schedule fix desired time to control servo motor
📱 How to capture start and end times of a phone call and calculate total call duration
Is there a way to do a task when an app is placed in the background?
[PAID] :round_pushpin: Location Service Extension
How do I use MIT app inventor's background task extension which helps the app to run in background?
Check if value in cloud DB changed while app is NOT running and create push notification?
How do I fix “There Was a Problem Parsing the Package”?
How do you launch an app, close it and then come back to mine?
I am trying to read a string from a web page and compared the string.
How do I run this app in background?
Background foreground
Keep the app open in the background
How can I have my app read the phone orientation in the background
Schedule an action
How do I run this app in background?
Aplicacion en segundo plano
Notifications pour application de chat
Vertical position recording
Keep screen on taifun tools
Can you tell how to use task extension to make screen run in background.
Screens or Components
Page turner and locked screen
How do I use MIT app inventor's background task extension which helps the app to run in background?
Background Tasks extension [3.8 A] 🥳
Background music
Background processing
Detailed guide for creating a music player with #Itoo
Alarm is no longer working after closing and re open it again
Phone falling detection
Taifun camera usage with locked screen
Taifun camera usage with locked screen
How do you make an countdown app always running?
How do you make app run in the background on minimize?
Need help sending notifications in the background over bluetooth
App just in Notifications visible sending remote media button keystrokes
Extension: Modified Notification Style to support Android 12 and above
Making a background app to rickroll people
Alarm control application
Que llegue una notificación si necesidad de aplastar ningún boton (Let a notification arrive if you need to press any button)
Keep the app open in the background
Menu or icons working over other apps?

Awesome work @Kumaraswamy :+1:t2::+1:t2:


Great extension Thank you so much @Kumaraswamy

so by using this extension i can run a procedure on phone boot starts up ?


Did you read this?


Hi, am I missing something in my blocks?

I have just checked Developer Options --> Running Services and this background service is not listed there. I have make not optimized of Battery also.

You have to drag atleast a dummy Texting component into the monitorSMS before you call the "When" block.

Thank you Kumaraswamy. I did that but no luck. would you like to look into my aia once?
DSOMonitor.aia (29.4 KB)


good morning,
I have a problem,
I have made the program, and it works to send a notification in the background, but after a few hours, it stops working.
I have tested it on two mobiles: Motorola and Samsung.
I attach my blocks in case I left something.


Thank you very much for your help.

Yes, there are two ways to solve it, completely disable the battery optimization of the app in the app settings and turn of phone battery optimization.

The other way uses a foreground service, i will soon release an update (in a week)


Ok, thanks

1 Like

Unfortunately, the video is not displayed with either Firefox or Chrome.


But for example, how WhatsApp does to receive messages (in the background) without showing any foreground?

They are whitelisted by the device manufacturer and they use the tools provided by the Google like GCM/FCM which are more reliable.

1 Like

Thanks :grin:

1 Like

not wok for me

Share your hardware version and your relevant blocks.

my block i'm using android 10.

1 Like

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

So how work on boot please show an example.

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

1 Like