Open Source β€’ Background Tasks: Itoo πŸš€

As a start:

In your case the CheckShopNotif method

Taifun

1 Like

still not working :frowning:
image

Have you made sure that the NotificationStyle extension is working properly? Also, you are not using the current version of the extension. Now there is no "when" block.

I tied the new version but it hasn't got blocks like initialize or initialize periodic and I don't know how to do with these

Now you have block RegisterEvent and CreateTask. In first topic you have blocks example.

1 Like

Try:

This:

or this:

and:


1 Like

Thank you so much


what did i wrong? beacuse its not working

1 Like

Have you also tried CreateProcess? Or "restart" set on False. If these things don't work, then you have to wait for the @Kumaraswamy response.

MajkerDaskSklep component is not used before registering the event thus the extension does not recognize it, you can use eval result block with the just MajkerDaskSklep block.

Here is the screenshot of my blocks that works for a successful foreground process even if app is closed.

4 Likes

I shared my blocks which are relevant to creating foreground process. Anyone in this group can message me here. I am not active in this group but would respond at the earliest possible.

1 Like

Hi, what have Ive done wrong with this blocks? It doest work.

Which version of the NotificationStyle extension are you using?
The latest version is here

Taifun

Great, I will try this latest extension of your.

image

The same it doesnt work on my android.

1 Like

Because you use the old extension from the Kodular community.

Itoo_version

This is not working and I'd be grateful if someone would kindly point out what is wrong with these blocks.

The object is, in the "background", to upload to GoogleSheets the datetime and a parsed version of an incoming sms from a predetermined single phone number when received on a single phone with this app installed. The attached version is simplified to illustrate the process - testing for appropriate sender number and parsing of message etc not included at this point.

I would hope to later use the SaveProcessForBoot method.

The sms to spreadsheet method works fine if run from in an open app not running Itoo.

Thanks in advance.

You have to use the RegisterEvent method for the MessageReceived event similar to this example

Taifun

1 Like

Many thanks for your fast response @Taifun

I may be misunderstanding your advice but I don't see any reference to RegisterEvent in that partricular post or its subsequent replies. That post also seems to refer to an earlier version of the Itoo extension.

I am alread using that block in my proc1

Any further clarification most welcome.