This is an Android project and an sample project picking in image from the library and cropping the way you want and making a auto-scaled bitmap and set it to ImageView.