Learning MIT App Inventor: A Hands-On Guide to Building Your Own Android Apps
by Derek Walter, Mark Sherman
Exercise: Camera Action
The purpose of this app is to build a still and video camera. This will give you practice using these components and enable you to experiment with these and other multimedia tools.
As described previously, multimedia, in particular, lends itself to playing with the various capabilities.
1. Place the Camera and Camcorder components onto the Viewer. These are nonvisible, so the screen will remain blank.
2. Then bring in two buttons. Give the buttons a label that corresponds to their function. Name the buttons Picture and Video. Note that you cannot name either of the buttons Camera or Camcorder because you are not allowed to give a button a name that is the same as one of the components. This is one example of when leaving ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access