How do I create a Button that makes the user of the app upload a image?

Hi, I'm new here. I'm a history teacher from Brazil.
I'm trying to built an App for my students.
I don't know how to create a button that makes my students upload a image/foto from their phones or tablets.

Please help. :dizzy_face:

Where do you want your students to upload their image to ?

I want them to upload the imagem in the screen.

Where will the image come from then ?

The imagem will be in the students phone or tablet.

Use the image picker to find the image on the device, then set the image picker selection to an image component to display the image in the app

I did this step:

But I don't know how to do this:

use an image component and assign the picked image in the ImagePicker.AtterPicking event
http://ai2.appinventor.mit.edu/reference/components/userinterface.html#Image

you might want to try something and if you get stuck, post a screenshot of your relevant blocks.

A very good way to learn App Inventor is to read the free Inventor's Manual here in the AI2 free online eBook http://www.appinventor.org/book2 ... 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 http://www.appinventor.org/content/CourseInABox/Intro and the aia files for the projects in the book are here: http://www.appinventor.org/bookFiles
How to do a lot of basic things with App Inventor are described here: http://www.appinventor.org/content/howDoYou/eventHandling .

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


Trying to push the limits! Snippets, Tutorials and Extensions from Pura Vida Apps by Taifun.

1 Like

Maybe u can use Google Drive to store and retrieve the images

this thread is 10 months old
I will close it

Taifun