Chapter 2: More App Inventor Magic

In This Chapter

check.png Taking pictures and sending messages

check.png Measuring a device’s tilt

check.png Making things move on the screen

check.png Storing and accessing data

check.png Starting another app

Chapter 1 of this minibook introduces you to the wonderful world of Google’s App Inventor. “Nice to meet you,” you say to App Inventor. As in any new relationship, the first getting-to-know-you encounter ends and then the let’s-learn-more-about-each-other phase begins. So in this chapter, you relax with App Inventor over an espresso at lunch and find out more about creating Android applications.

Snap a Photo

App Inventor can access a device’s camera. To check it out, try this:

1. Create a new App Inventor project.

For details, see Chapter 1 of this minibook.

2. Onto the Designer viewer, drop a button.

3. (Optional) Put the words Start the Camera on the face of the button.

4. In the Designer palette’s Media category, find the Camera component.

5. Drag a camera from the Designer palette ...

Get Android™ Application Development All-in-One For Dummies® now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.