How to Select Image From Gallery and Show in ImageView in Android-Android Studio

preview_player
Показать описание
Select Images from Gallery and shown in ImageView

Рекомендации по теме
Комментарии
Автор

To anyone who saw other videos before this one and can't get it done: this is the one.
Thanks tp Android and Java Logics.

miguelunch
Автор

Thank you so much for solving this problem

amitjalwanshi
Автор

I have tried many other but this worked perfectly..
Thanks a lot

karthikvarmaindla
Автор

which android API level can support it..?
because i tried many trials but my issue is that when i go to gallary and pick image it come back to main activity but image not appear
i applying read and write permission of external sotorage
suggest me plz
my android studio version is 2.0 and i select minimum SDK 4.0 API 15

kamranrahmatullah
Автор

what is the line of code (protected void onActivityResult) and how active this method? ( onActivityResult )????

zhinosalih
Автор

startActivityForResult(Intent.createChooser(intent, "Select pic", REQUEST_CODE));
this line showing error on REQUEST_CODE

foodplannet
Автор

And how to load the image's Uri to when the application is closed and reopened, the image still loaded?

johnnyromanovieira