Can I use CloudDB or TinyDB tags for this purpose?

Can I use CloudDB or TinyDB tags for this purpose?

That means, when I switch from one screen to another, with the help of CloudDB or TinyDB tags, can I store data from one screen and display it on another screen? Can I do that? If yes, then how?

To share data between screens you can use TinyDB.

1 Like

how? can you please post the blocks? please...

Why don't you use start value to share the data from 1 screen to another

Consider watching this video

1 Like

Please read
http://ai2.appinventor.mit.edu/reference/components/storage.html#TinyDB

image

image

4 Likes

Something like

2 Likes

@Horizon the startValue is the tiny db 1 tag, right?

@dora_paz i will check into it

@RamNaresh thanks your recent reply was the solution!

Nope, it you use Android Studio then you might know about intent in intent what we usually done is we add value to a key in intent and then call the Activity to start intent
I guess it is done in the same way with start value

1 Like

You do not need to use startValues if you use tinyDB or cloudDB, just ensure that you have a component instance on each screen to access the data, then call the tags/values back from the tinyDB/cloudDB.

You can, of course, avoid all this if you use virtual screens instead of real screens.....

2 Likes

i cannot understand the reply, please kindly elaborate more

an example for using virtual screens

3 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.