Updated: Writing and Reading Text Files Using App Inventor: This - TopicsExpress



          

Updated: Writing and Reading Text Files Using App Inventor: This post is a major update to a previous post on reading and writing text files using App Inventor. This revision includes information on how to locate the text files you create in your App Inventor apps, plus how to transfer those files from your smart phone or tablet to your computer. An earlier blog post described how to store data using TinyDB so that an apps data can persist between uses of the program, or even to share data between screens in a program. Another way to save data is to write the data to a file on your Android device. App Inventor has introduced a File control that lets us write text data to a file and then read it back, later. As we will see, the File control is not the easiest thing to use but with some work, the control can be used to store data from our program into a file. Once data is in a file, you could, hypothetically, transfer the file from an Android to device to another computer. Because Android stores the files in a way that they may not be readily accessible - or even visible - we need to use some simple tricks to find the file and transfer the file to a computer. ...
Posted on: Tue, 06 Jan 2015 00:29:35 +0000

Trending Topics



Recently Viewed Topics




© 2015