TinyDB
As previously mentioned, two components are used to manage databases: TinyDB and TinyWebDB. TinyDB is used to store persistent data on the Android device itself. This is important for apps when the user has no need to share the data with another person or device (and the data presents no security risk).
Both TinyDB and TinyWebDB are found in the Blocks Editor with the other storage components (see Figure 11.1).
With TinyDB, the data is stored directly on the device and is available for your app. For example, if you program an app to provide an automatic response to a button press or some ...
Get Learning MIT App Inventor: A Hands-On Guide to Building Your Own Android Apps now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.