Save File Button

I used the code blocks that you said and when I downloaded the app, I clicked the button a few times. I closed the app and then opened it again and the button reset to 0.

I replicated with the same stapes, tested in companion and with apk installation as well, it's working as expected. I used the same code

blocks (16)

1 Like

@awesomesause1543, you may want to implement a "reset" Button as well...

1 Like

@RamNaresh maybe I just missed some blocks. I will look and test it later.

Ok, sure

Yes, that might be the blocks to be triggered on screen1.Initialize, to load the global i with old value from TinyDB, else it will be reinitialised with 0 every time when program start.

Thanks

This post was flagged by the community and is temporarily hidden.