RSS

Monthly Archives: February 2015

Reading / Parsing CSV File

App Inventor includes a Storage File component that can be used for reading and writing. One use of this component can be for reading CSV (Comma Separated File) as key value pairs.

Assume you have a a file called myDataFile.csv with contents that includes authors (key) and books (values) like below. Note that in below example, the value can be varible-size tokenized string (string with multiple values):

Hossein,Absolute App Inventor 2|Amazon|Google Play Book|Apple Book Store
Dave Wolber,App Inventor|Google

The code below shows how we can use a TEXT field to get a user-entered key and then search the data-file and return the search data into another TEXT filed. The code below will loop through the tokenized string value and print each token.

image

Advertisements
 
13 Comments

Posted by on February 20, 2015 in Uncategorized

 

Absolute App Inventor 2 book

If you like our blog posting, then you may be interested in our Absolute App Inventor 2 book.

PREVIEW HERE

Google Books HERE     Amazon Books HERE.    Apple Books HERE    Nook Books HERE.

Learn to develop Android Mobile Apps. Absolute App Inventor 2 book will take you beyond basic tutorials and will cover concepts that will help you to become a better Android App Inventor.

image

  • If you are new to programming or App Inventor, then this book will show you how to properly start-off designing and developing mobile apps and will then gradually take you through understanding more advanced concepts.
  • If you have already used App Inventor, use this book to learn about optimization, DRY principle, design patterns and concepts that will teach you how to design & develop apps that will run more efficiently and to learn about concepts that have not been covered in other App Inventor books.

The book covers good programming designs using DRY (Don’t Repeat Yourself) Principle by using App Inventor Procedures. The book also covers how to use proper abstraction and produce much cleaner code through use of App Inventor Advanced “Any Component”.

All these concepts will be covered in a fully fledged such as SpaceWars gaming app and MyFAVs contact management apps. They will show you step-by-step design flow and bottom-top implementation using numerous figures with detailed step-by-step sequenced instruction.


Interested in Ai2LiveComplete? Please check features and link to demo site  HERE.  Alternatively, if you have problem accessing the doc, you can check document, HERE

 
9 Comments

Posted by on February 16, 2015 in Uncategorized

 
 
%d bloggers like this: