PacktLib: Google App Inventor

Google App Inventor

Credits

About the Author

About the Reviewers

www.PacktPub.com

Preface

Obtaining and Installing Google App Inventor

Getting a Google App Inventor Account

Time for action signing up for a Google Account

Google App Inventor on the Web

Time for action logging into App Inventor

Requirements for Windows, Mac, and Linux

Obtaining and installing Java

Installing Java on your computer

Installing App Inventor locally

Time for action installing App Inventor on Mac

Time for action installing App Inventor on GNU/Linux

Time for action installing App Inventor on Windows

Setting up and running the emulator

Time for action opening up the emulator

Finding and downloading drivers

Time for action connecting a Droid to Ubuntu

Time for action configuring our device

Summary

Learning Components

Using App Inventor's web interface

Time for action creating a new project

Time for action downloading our projects

Time for action uploading source code

Time for action connecting our phone

Basic components

Time for action adding and configuring a button

Time for action follow the bouncing ball

Media components

Time for action shooting a photo

Time for action vibrating buttons

Animation components

Social components

Sensor components

Screen arrangement components

LEGO® MINDSTORMS® components

Other stuff

Not ready for prime time

Summary

Playing with Blocks

The Blocks Editor

Time for action collapse and expand block groups

Time for action deleting unwanted blocks

Definition blocks

Time for action calculating the area of a circle using a function Design

Time for action calculating the area of a circle using a function

Time for action finishing the "pi are square" app

Time for action adding an error trap

Text Blocks

List blocks

Math blocks

Logic blocks

Control blocks

Time for action making a loop

Colors blocks

Individual component blocks

Summary

Mastering Concepts and Advanced Components

Changelog

Concepts

Other stuff

Time for action building bookmark apps

Time for action our very own barcode scanner

Time for action build a time- and date-stamped Voice Note Taker

Time for action reading aloud

Time for action storing persistent data on the web

Not Ready for Prime Time

What we learned

Apps That Communicate

App—phone home

Time for action getting the source

Texting with words and more

Time for action building a texting app

Time for action create a text-your-friends app

Applications e-mailing stuff

Time for action that Loving feeling

Social communication

Time for action two methods for searching Twitter

A bonus template

Summary

Apps That Remember

Lists and Lists of Lists

Time for action building the input screen for a Friends List

Time for action converting a CSV table

TinyDB—persistent to please

Web component—reaching out to the web

Time for action using parsing to break out the states of India

Summary

Apps That Surf the Web

Browsing and using websites

Time for action building an eBay link app

Fusion Tables—Google's free online data service

Quickie data-getter—finding the fourth way

TinyWebDB—accessing and storing data

Time for action testing TinyWebDB

Publishing your apps for the world

Summary

Apps That Know Where They Are

Changelog

Time for action showing three websites at the same time inside an app

Son of Changelog

Using the location sensor

Using Google Maps

Time for action determining our location by network

Time for action determining our location by GPS

Time for action taking a look from space

Using the AccelerometerSensor component

Time for action seeing gravity and acceleration on our phones

Time for action nice and level

Which way are we?

Time for action seeing azimuth, pitch, and roll

Time for action building a compass

How high are we?

Time for action finding your current altitude

How far from home are we?

Time for action creating the end and the beginning

Time for action getting the current address, longitude, and latitude

Time for action saving our home location

Time for action the distance between home and wherever here is

Summary

Games and Animation!

Animation

Time for action bouncing a ball

Time for action banging things off each other

Splash screens

Time for action designing a splash screen

Time for action making a splash with the splash page

Bash the Alien!

Time for action throwing blocks to Bash the Alien!

Knowledge games

GameClient component

Summary

Thank you!

Links and Resources

Links and Resources

Links and Resources

Links and Resources

Links and Resources

Last-Minute Update

Last-Minute Update

Last-Minute Update

Final Last-Minute Update

Final Last-Minute Update

Pop Quiz Answers

Pop Quiz Answers

Pop Quiz Answers

Pop Quiz Answers

Pop Quiz Answers