Book Image

Google App Inventor

By : Ralph Roberts
Book Image

Google App Inventor

By: Ralph Roberts

Overview of this book

<center><iframe src="http://www.youtube.com/embed/UgRhYG_bvW8" width="500" height="315" frameborder="0"></iframe></center> <p>The number of mobile apps has grown exponentially in the last two years. If you want to join the crowd, Google’s App Inventor is the easiest and best tool for you to get started with. It is a tool to create Android phone apps and uses a graphical user interface, and drag and drop methods to create apps. It’s so simple that anyone can build an app.<br /><br />Learn how Google App Inventor eliminates the mystery around programming. It is a visual language, where we simply drag and drop blocks (graphic elements representing blocks of code) in various combinations to give us applications that run on our phones or other Android-based devices. No programming background is required. Playing with blocks has never been more fun!<br /><br />The emphasis is on creating apps that work and that you understand fully. The first part of the book gives you a sound foundation in the basics, and lots of tips on how to use App Inventor. The second part is all about creating complete apps ready for real world use. The book includes apps that communicate, use databases to remember, surf the Web and other networks, use GPS and various sensors on your phone, and let you write or play games.</p>
Table of Contents (19 chapters)
Google App Inventor
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface

The Blocks Editor


The Google App Inventor Blocks Editor is the part of App Inventor that runs on our local computers. As we've done several times already in the previous two chapters, we start Blocks Editor by clicking on the Open the Blocks Editor button at the top-right side of the online Design screen.

Blocks Editor, a Java application, is downloaded from the web each time we wish to use it. This has the major advantage of ensuring we are always using the very latest version. The following is the Blocks Editor on my computer (a Windows 7 machine) with the blocks of an app in progress (this will be an example in a later chapter, shaping up very nicely).

The top bar

No, not that kind of bar—it's the green one along the top of the Blocks Editor screen. Look at the left side first (see the following illustration). The first word(s) on the left of the green bar is the title of the app. Next, we have three buttons.

The first button (leftmost) currently reads Saved, meaning the app has been...