O'Reilly logo

Learning MIT App Inventor: A Hands-On Guide to Building Your Own Android Apps by Mark Sherman, Derek Walter

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Retrieving Data from TinyDB

Getting data from the database is accomplished with the TinyDB.GetValue block. The following example illustrates triggering a response when the user pushes a button. For this use case, we want this data always and rapidly available (see Figure 11.3).

Image

Figure 11.3 Programming a button to store the value with the tag getthedata in TinyDB.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required