Button Click Count

How i make
button click count show in lable text and after 24hours button count 0

thank you

1 Like

All you need is TinyDB. When button is clicked, store a number starting from 0 and increment it afterwards. And get the value from the tag used to store value to set it on the Label.

If you search TinyDB for App Inventor, you’ll find a lot of helpful tutorials. It is not hard to understand.

plase i am new i don’t know how i use tinydb. can you make aie file.

thank you

I can show you tomorrow (It’s night now in my country)

thank you very much

TinyDB tutorial by Stephen

A very good way to learn App Inventor is to read the free Inventor’s Manual here in the AI2 free online eBook App Inventor 2 Book: Create Your Own Android Apps … the links are at the bottom of the Web page. The book ‘teaches’ users how to program with AI2 blocks.
There is a free programming course here Course In A Box and the aia files for the projects in the book are here: App Inventor 2 Book: Create Your Own Android Apps
How to do a lot of basic things with App Inventor are described here: How do you...? .

Also do the tutorials Tutorials for App Inventor | Explore MIT App Inventor to learn the basics of App Inventor, then try something and follow the Top 5 Tips: How to learn App Inventor


TinyDB.aia (2.1 KB)


thank you very mutch
on little help
after 24hours click count ZERO (0)

thank you

1 Like