Android Studio Tutorial - Upload Picture Part 2 - Gallery Image Select

preview_player
Показать описание
How to upload pictures from an android device to a server and retrieve it at anytime in the app.

This will be useful in an app where users will have their own profile pictures or where users can upload pictures.
Рекомендации по теме
Комментарии
Автор

wow, thanks !
I love the way you explain clearly what's happening in the code, super helpful tutorial !

thejolv
Автор

implemented this code in my app when I select the image it closes the app and shows no error

MarcosAntonio-orsk
Автор

I want to select more than one image but I m able to pick only one image, what to do to get multiple images

aayushpathak
Автор

wonderfull, your tutorial is simple and easy to learn, thank

malikkurosaki
Автор

i opened the gallery and could pick a photo! thanks!

BlackPandaPodcast
Автор

i use Galaxy s5 and if i upload image that biger then imageview i dont see nothink and get this massage
Bitmap too large to be uploaded into a texture (5312x2988, max=4096x4096)
how can i resiz selected image?

XCaMeLX
Автор

Hello, I'd like to do the same while working with fragments (Drawer Navigation). Any help ?

JustininiPointinini
Автор

how to upload multiple image from gallery then show in image view using android studio?/

askarihassan
Автор

Is there possibility to move uploaded image to drawable folder and if it is, how we can do that?
Can you write me a code in comment?
Thank you.

mihajloilic
Автор

I got a question why my images lose quality? how can i fix that?

arklan
Автор

whats with this "$ adb shell am start -n -a android.intent.action.MAIN -c
Unexpected error while executing: am start -n -a android.intent.action.MAIN -c
Error while Launching activity"

FlecissaVideos
Автор

why you had 3 images, but i just got a" no media found." message

how to import image to the AVD??

johnsonyau
Автор

I feel like Skepta is teaching me how to code

ZanluSk
Автор

If do not display the picture after selection then change the if condition (requestCode == RESULT_LOAD_IMG && data != null)

Nileshdabhi
Автор

I got a "no media found". Can anybody help?

odingamubutu
Автор

if(requestCode == RESULT_LOAD_IMAGE && resultCode == RESULT_OK && data != null) This check not working and does not get true!!

creatorzacademy
Автор

"resolveUri failed on bad bitmap uri" :(

ramadhanrosihadi
Автор

how did you put those pics in the emulator?

emanuelb.
Автор

In my case it doesn't display the picture after selection. Why is that?

hrares
Автор

folks I fond the problem, I made the requestCode == to requestCode (which should be resultCode)

odingamubutu