What is gotvalue block in tinywebdb?

I am new at kodular so,
if you think that this question is very silly then sorry for that but i am new :grin: :grin:.

i was started to make an app which stores user data from screen1 and then display those data in screen2 and don’t tell me why you not use firebase.

i was already learned about tinydb but never use tinywebdb so i was started to learn it and tinywebdb is little bit different from tinydb.

my app screenshots :


blocks screenshots :


blocks (1)

aia file - App_Testing.aia (12.2 KB)
apk file - :crazy_face: :stuck_out_tongue_winking_eye:

anyone can tell me how to use gotvalue

Tiny db used in screen1 can not be used on screen2 to call data.

You have to transfer that data with start value by calling it on screen1.

Use open another screen with start value block and in start value use make a list block.

And in make a list block add tiny db1 get value blocks for all 3 tags.

1 Like

lets try it :+1:

where is start value block i am not found it on tinywebdb components
:thinking: :thinking:

sorry The_K_Studio i find it :+1:

1 Like

Oops i thought you are facing problems regarding tiny db. But it is tiny web db. I also never used it.

But i think you need web hosting to use tiny webdb.

Nope.
TinyDB can be accessed from any part of app :grinning:

TinyWebDB works very similar to Firebase but it has very few features unlike Firebase.
GotValue event is raised when components gets value from database.

2 Likes

Ohh… okay.

i am not using tinydb, i am using tinywebdb it is a method not a property

Sorry my mistake…i thought tiny db :sweat:

It works same as like firebase database. When tiny web db got value you will get tag and value.

You have to connect tinyweb db to the server.

Read Kodular Docs.


in TinyWebDB there is a GotValue event, because as for all online databases it takes a little bit until the result is provided

A very good way to learn App Inventor or Kodular 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 MIT App Inventor to learn the basics of App Inventor, then try something and follow the Top 5 Tips: How to learn App Inventor

Taifun