Broadcasting from App to Background service and vice-versa is now possible
Any message sent from the background service will be received by this event
StoreProperty now uses object serialization like TinyDB — making it possible to store any kind of App Inventor data type
Breaking change — adds valueIfTagNotThere socket to set the default return value
Fixes service conflicts, earlier when you tried to run two Itoo services, only one of them would run, this is now fixed.
Fixes permission requesting problem — now the framework ignores any permission requests made in the background
Fix starting an activity from background, like (Taifun Alarm's Set Alarm block), while there are still certain limits — extension returns default result okay code.
Hello,
i have a problem with start the process in background.
If call the web1.get from button its works ( i see the get request on the server)
but in the process background the requast not run
where am I wrong?
i would like to run the request every minute and update the label with response content
There is no condition attached to the if block, so the actions inside of it (the Itoo.CreateProcess block) will not be run. Also, the block to call the send_get procedure should be in the Clock1.Timer event.
hi, i have tested with MIT, but i get the same result. i tested with your information but the request not run.
I haven't added any more code blocks for now.
I see the backend server logs to understand if the request was sent.
Obviously with the button1 the request arrives on the server
Sorry but I don't understand.
It still does not work.
I've done various tests but it doesn't work at all.
Doesn't create the process (I think the "CreateProcess" block doesn't work)
If I check with "Button3" I always get not running.
If I call "Button1" it sends the request to the server but does not start the "cicle1" procedure
your procedure get_notis it here to register all events, also the Web1.GotText event
and your procedure cicle1 (why such a strange name, anyway...) should have the same arguments as the Web1.GotText event
and: in the background there is no user interface, there is no label etc... if you want to see something, use logcat or the notification style extension, see several examples here in this thread
You cannot use UI components in the background, that means you cannot use Label2 component. Use the notification style modified extension to show a notification when the Web 1 Got text.
Also you need to change the signature of the circle1 block, add the required parameters. Same as the Web1.GotText