As you may know, you can save your App Inventor project to your local computer using the Projects | Export selected project (.aia) to my computer menu option: Use this feature to save a backup copy on your local computer or to share your code with others (email or transfer the file using DropBox – … Continue reading What is inside a .aia project file? →
(This post was completely rewritten and updated on October 30, 2015) What is TinyDB? TinyDB is a simple “database” that stores data on your phone or tablet. Unlike program variables that go away when your app is finished running or your phone is re-set, values stored in TinyDB remain on your phone for use the … Continue reading Using TinyDB in App Inventor →
In the Designer, under Storage, drag the File component to the user interface Design screen. This adds a “non-visible component” at the bottom of the Designer canvas area. In the Blocks view, scan down the list of blocks until you find File1 (you can rename it to something else). You’ll find a set of functions … Continue reading App Inventor’s File access component →
Help yourself to faster programming by purchasing my App Inventor 2 Guides from any of the following vendors – thank you very much! Detailed descriptions of all the books are below, including Table of Contents and some sample chapters. Where to Buy App Inventor 2 Introduction (Volume 1 e-book) Step-by-step guide to easy Android programming Buy … Continue reading App Inventor Books →
A reader asked a question about how to calculate square roots. While you can – and generally should – use the builtin Math function – you can also learn how to calculate a square root in your own code if you wish. Read on to learn how to do that!
App Inventor programmers routinely store values, such as numbers or text strings (“Hello!”) in variables. For example, stores the numeric value 6 in to the variable TOTALBUTTONS. To illustrate by example, here is a global variable named SpecialButton. We can initialize it to anything we want at this point. Next, inside our app, our blocks … Continue reading Part 1: Storing and accessing user interface components as variables →