High quality Android courses:

In this video I show you how to select an image from the phones memory and then crop that image.

In the first part of the video I show you how to select an image from an android devices internal memory.

Then in the second part of the video I show you how to crop the image that was selected from memory and display it in an ImageView using my favorite image displaying library, Glide.

I use onActivityResult to retrieve the result from the Gallery intent. I also use onActivityResult to receive the result of the image crop.

All code is written in Kotlin.

Android Image Cropper library:
Source code:


Nguồn: https://u-os.org

Xem thêm bài viết khác: https://u-os.org/cong-nghe



  1. محمد خالد Reply

    Thanks 😘
    But I need to Save the croped image in gallery …how can I do that…
    Please help me it is very necessary to me 🥺

  2. isuru wickramasinghe Reply

    I have this error bro when adding dependency
    ERROR: Unable to resolve dependency for ':app@debugUnitTest/compileClasspath': Could not resolve com.theartofdev.edmodo:android-image-cropper:2.8.+.

  3. Vrajendra Mandloi Reply

    Hi bro your videos are amazing and i regularly follow your tutorial.. plz can you do a video on image icon on an app to resize according to different screen.. i.e. 4 icons on smaller screen in a listview but they grow 5 on larger screen

  4. Zain Khalid Reply

    Hi Mitch! Can you make a tutorial on light and dark theme. It would be really helpful because lots of apps are offering this now in there apps.

  5. jenil mangukiya Reply

    very nice Video ..
    Hey Please Create a video on automatic wallpaper changer in android with kotlin please

  6. Fabrizio Almeida Reply

    Thank you Soo much, on this weekend I will start your courses, if you planning to do a course of custom views like this cropping image, will be great.

  7. Why I can't play the video? 😭I think there is a bug in the YouTube Android app 😂

Write A Comment