Photo Upload for MIT App Inventor

Hi

In the app i created ,i have set it up so that when the button is clicked,the camera opens and take a photo.i want to it so that when the button clicked,i can upload a photo from the gallery instead .if possible pls show me how to do it.

LoadingTruckRevised1(3).aia (129.5 KB)

Use an image picker component.

If you want to offer a choice (take photo or pick image) then use a notifier choose dialog.

yes

pls can you share code

See the documentation provided for the imagePicker and the notifier components.

How do you do that? Can you explain a little?

A very good way to learn App Inventor is to read the free Inventor's Manual here in the AI2 free online eBook App Inventor 2 Book: Create Your Own Android Apps ... the links are at the bottom of the Web page. The book 'teaches' users how to program with AI2 blocks.

There is a free programming course here Course In A Box and the aia files for the projects in the book are here: App Inventor 2 Book: Create Your Own Android Apps

How to do a lot of basic things with App Inventor are described here: How do you...? .

Also do the tutorials Our Tutorials! to learn the basics of App Inventor, then try something and follow the Top 5 Tips: How to learn App Inventor

Taifun