Store and saving the data from Poll App?

Following the steps from a tutorial I found here: Visualizing and Analyzing Data
I made the Poll App, but I want to ask how can I save the data until I decide to delete it, but also share it with a share button through the capabilities of the device? or upload them to the drive?

Thanks and a happy new year

When, use TinyDB to store happyButtonTotal/angry/sad.
When screen.initialized, retrieve these data.

Thanks for the answer, but since I'm a beginner I don't understand exactly how to do it

Learn to work with TinyDB

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


All the links bring to the:

Error: Server Error

The server encountered an error and could not complete your request.

Please try again in 30 seconds.
Except one Link

there are other posts about TinyDB
FAQ Section: TinyDB - Frequently Asked Questions - MIT App Inventor Community