How to program my app to save data?

I am new to this platform. Could you tell me what blocks I should use for a button to save something the user wrote?
And then, I need this information to appear in another screen of the app.

Thanks in advance,


Hi Samantha,

Here are some resources to help you learn to use the AI2 tools A very good way to learn App Inventor is to read the free Inventor’s Manual here in the AI2 free online eBook … 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 and the aia files for the projects in the book are here:

How to do a lot of basic things with App Inventor are described here: .

Also look here and here for more tutorials.

Use a TextBox to capture the text a user writes with perhaps a File component.

(You need to ‘write’, then save the text somewhere. The somewhere can be to a file, a GoogleSpreadsheet, a database etc. You don’t need this information to appear in another screen. It can appear in the same screen using a simulated screen. If you don’t do that, you would use a TinyDB to ‘transfer’ the information to the next screen.

Do the tutorials, read the book and then post what you tried. Good luck.


Hi SteveJG,

Thank you for your help! I will look into those links.


First, thank you for this useful information. your online book ’ App Inventor 2’ is very good for beginners & intermediate who want to learn about How to Create your own Android Apps.
You’ll learn how an app is a set of event-handlers that respond to the user’s touch