Chapter 2: More App Inventor Magic
In This Chapter
Taking pictures and sending messages
Measuring a device’s tilt
Making things move on the screen
Storing and accessing data
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 ...