New way to pick an image from the gallery in Android Studio | Kotlin

Опубликовано: 13 Декабрь 2022
на канале: Mohsen Mashkour
176
7

In this video, I will show you how to pick an image from the gallery and set it on an ImageView using a result contract instead of Intent and startActivityForResult. because it is deprecated.
startActivityForResult is deprecated.


If you like the content, buy me a coffee by clicking on this link.☕☕☕
https://www.buymeacoffee.com/mkrdevel...


You can find the source codes of this video here:
https://github.com/MohsenMashkour/pic...


Related videos:
Button:    • How to use a Button , #setOnClickList...  
ImageView:    • Five ways to set an image on an Image...  



Previous videos of the course:
   • Android Beginner Course 2023  
---------------------------------------------------
Timestamps:
00:00 Introduction
00:42 Layout
01:05 Initializing the widgets
01:42 Creating the result contact
02:56 SetImageUri
04:00 Launching the result contract
04:46 Testing the App
05:27 Ending
---------------------------------------------------
My website:
https://www.mkrdeveloper.com/
.
.
.
.
My Instagram:
  / mkr.developer  
.
.
.
.
#Android
#kotlin
#kotlin_course
#android_tutorial_beginners
#android_developers
#bitmap
#uri
#drawable
#imageView
#اندروید
#برنامه_نویسی_اندروید
#کاتلین
#ایمیج_ویو


Смотрите видео New way to pick an image from the gallery in Android Studio | Kotlin онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Mohsen Mashkour 13 Декабрь 2022, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 176 раз и оно понравилось 7 людям.