Open Source • Background Tasks: Itoo 🚀

With 4.3 the app works ok
TKS !

1 Like

Hi @Kumaraswamy, Thanks a lot for your great work, now I am planning to create an app to check wifi when connected if it asks for login details or not, I have created a background task which is to send notification when wifi is connected to any network when the app is closed and once you click on the notification the app opens, unfortunately it is failing to accomplish the task in the background though it shows that it is working but nothing happens and when I try the same in the UI it works normally when I close and open wifi or toggle it the required notification appears normally, I don't know what is the problem.

TestBackgroundTask.aia (301.1 KB)

Hi, what version of Notification Style extension you are using? Make sure it is the latest one, because the old ones dont work.

Add sone debug statements is procedure NetworkConnected to log network status... you then can check using logcat

Taifun

Hi @Taifun , @Kumaraswamy
I tried to upgrade NotificationStyle extension but not working in background too and i download logcat app but no error appear on device logs


also I tried a simple project as doing a notification every 15 seconds from background but not working too

extensions versions for Itoo 4.2 and for NotificationStyle 1.8

What's strange to me is that the basic notification for (Itoo.CreateProcess) shows me that it's running normally in the background but something is making it not call the procedure (starter2) and I think the same thing is happening with (Itoo.RegisterEvent) and it's not the problem with the (NotificationٍStyle) extension or (Network_Tools) from frist project.

Anyway, I'm not sure what the problem is or where it lies in this case. I trust you to be able to guide me to the solution.

Thanks a lot for all.

Logcat apps do not work
Follow this guide

The latest version is 4.3

Taifun

Check the notification extension you are using:

and use Itoo v4.3 (check Taifun's above)

14 posts were split to a new topic: MQTT extension by Ulrich needs sdk 34 update

I think there is an issue with Itoo extension with Android 14. I tried running the Music Player example with the latest Itoo v4.3 extension (needed some changes since the example was based on an old Itoo version)

Specifically the Itoo.BroadcastEvent is not firing. Can someone check if my code blocks are ok ?

ItooMusic_test_v4_3.aia (4.2 MB)

@ [Kumaraswamy] are you planning on testing this on Android 14 ? Or someone with Android 14

I will soon publish an update addressing this issue.

2 Likes

Itoo Sky 4.3.1

  • Added option to specify foreground service type, as required by latest versions of Android

  • Bug fixes and support for Android 14

xyz.kumaraswamy.itoo.aix (81.5 KB)

4 Likes

thank you

1 Like

Hi,
with the last extension version is possible to manage Location Sensor events (locationSensor.LocationChanged) and Texting events (Texting.Messagereceived) on Android 14 ?

thank you

Hi,
It is not possible yet, that feature helps simply tell Android the purpose of your background service.

Hi Kumaraswamy, I try creating a app that can use voice recognizer in background, but It didn't work. Did I make a mistake here?

Hi, I would like to create a GPS Tracker.

Hi, is your Itoo extension work with SpeechRecognizer?

Hi, you have to move the register event function to the initialize procedure before GetText

Unfortunately Itoo dosent yet natively support background location access.
You may try out the Location Service extension offered by Taifun (i.e. paid)