You mean you want to do some actions like for (example measuring the temperature) and you want it always to run in the background. Right?
I am sorry, I do not understand “affirmative” exactly.
that’s what i meant
Yes this is possible as long you don’t need to work with event blocks. I will try to post simple example shortly.
It would help me too much if you post an example, thanks
I made simple example:
Here we store value in tiny DB when screen initialize. The button one here is the start button. When clicked we will get the data from the tiny db and show it in a notification. The notification will appear after like 4-3 seconds and not exact because it depends on the system.
I have tested this on android seven and it worked.
BackgroundTasksExample.aia (383.5 KB)
You’re blocks are wrong. The Name parameter is the component name. Here are the right blocks:
I have not tested it yet.
the application stops.
Can you please pm me the test apk? I don’t face that issue in both of my devices.
Hello, this version of the extension does not supports UI related components to be created in background.
Can We Use This Block In Background? If yes Than How??
Use the web component as said many times .
How ? can you explain more. or give us a aia file.
same thing is her when we get any url with web component. than we need this block for get response. so how we use this??
Seems this version is not good from the old ones. I will look into that. Thanks
Can you please test it using the old version of the extension and check if it works?
yes, when I leave my app the audio stopped. it not working in the background. (Old Version Extension)