The ImagePicker
The ImagePicker enables your user to import some preexisting images into the app. This is great for letting users pick their own profile pictures, backgrounds, or other customizable pictures. Add it just like a button, by dragging it into the Viewer. The ImagePicker looks like a button and has many of the same properties and configurations of a button. When pressed, however, it opens a menu that lets users pick from the Android image library, using their image browsing app of choice (see Figure 9.4).
Get Learning MIT App Inventor: A Hands-On Guide to Building Your Own Android Apps 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.