How to program my app to save data?

Hello,
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,

Samantha

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 http://www.appinventor.org/book2 … 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 http://www.appinventor.org/content/CourseInABox/Intro and the aia files for the projects in the book are here: http://www.appinventor.org/bookFiles

How to do a lot of basic things with App Inventor are described here: http://www.appinventor.org/content/howDoYou/eventHandling .

Also look here http://kio4.com/appinventor/index.htm and here http://www.imagnity.com/tutorial-index/ 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.

2 Likes

Hi SteveJG,

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

Samantha

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