Open Source • Background Tasks: Itoo 🚀

i cant use my clipboard to copy link somehow, its the thread number 397


this one by jerej.

yes i did that and changed the bleconnected one



i realised i needed to use the apk version of the app and not the ai companion connect one, so i found that the createprocess is working kinda okay {as the connectwithaddress block was working fine}till a certain point. the registerevents under monitorconnection are definitely NOT working still because wehn the device is connected, the bleconnect procedure that should work, doesnt? and bytes are still not being received, dont think the clock1.timer is working either. for debugging, i did try the logcat thingy, but in the powershell, the data kept on coming without a single millisecond of delay, and that confused me even more, so i dont know anymore, help
UPDATES: the doit procedure, the bleconnected AND blereceived are working now.

blocks (27)
blocks (26)
i saw the last example in the mainthread of firing an alarm whenever device is shaking and realised i had to do these too.
thank you for your help so far taifun

rather another question related to this, does the function of calling someone from the background like this not work?
Screenshot 2025-07-04 234820
and if not, then what are the alternatives of doing so? the phonecall blocks dont work, and when i try to run via activity starter, the whole app restarts completely. help
@Taifun

No
To call someone the app must be in the foreground
My alarmmanager extension among other things is able to bring the app to the foreground

Taifun

Okay thank you very much. But doesn't the createprocess of itoo bring everything to foreground too? Is it itoos limitations to do things or?

From the terminology section of the first post in rhis thread

  • We say the app is in "foreground" – meaning the app is open, being active.
  • The second meaning, we refer to "foreground" as in "foreground service" feature offered by the extension.

A foreground process does not bring the app to the foreground

Taifun

1 Like