I am a beginner in MIT app inventor tool. I am stuck on passing data between screens. I have searched a lot of time on the internet. I got lots of results using activity starter with intent, but how it is possible in MIT app inventor?
If in android we can pass data like this
Intent i = new Intent(this, ActivityTwo.class);
i.putExtra("Value1", "This value one for ActivityTwo ");
i.putExtra("Value2", "This value two ActivityTwo");
startActivity(i);
by using bundle we get that data, but how it is possible in MIT app inventor?
You have 2 options to pass data between screens:
to use the open another screen with start value block
example:
as you can see, a value also can be a list...
then in the other screen you can get the data using the get start value block
to use TinyDB
for example in Screen1 just store the data in TinyDB and read it again in Screen2