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

Using the Android SDK


The Android SDK or Software Development Kit is run by the Java computer language underneath App Inventor. It's what makes things like our neat app creation by simply pulling together blocks and the use of an emulator as a test device possible.

Normally, we could care less in the same way we drive a car without thinking about what position the pistons are in and if the spark plugs spark. Still, the SDK is there for our use.

On Windows computers, the SDK should be in the c:\program files\android directory if you installed it as suggested in Chapter 1, Obtaining and Installing Google App Inventor. Clicking on the SDK Manager.exe opens the main SDK program.

Using this program, you can do things such as install additional emulators for use in Blocks Editor. For example, in mine I've added an emulator for the Galaxy tablet computer as shown in the next screenshot (see Chapter 1, Obtaining and Installing Google App Inventor again for more details).

Oh, and also check SDK Manager.exe occasionally to make sure all updates have been applied.

If you actually want to program in Java directly, you'll want to install Eclipse, an open source IDE (Integrated Development Environment) that makes it much easier to work with Java and the SDK.

Of perhaps more immediate use to you is the ddms.bat batch file (found in the tools directory), which opens the Dalvik Debug Monitor as we saw earlier in the book. It does several nice things including screen captures of your test device as shown in the following screenshot, and it is indispensible if you are creating art for the apps you post on Market.