In my application the user selects an image. When the ACTION_GET_CONTENT intent is launched it displays the dialog to select one of the available image viewers installed on the device. However I need the built in Gallery app to be chosen because upon selecting an image it launches the screen to crop the image (same thing that comes up when choosing the home screen wallpaper) which only the Gallery chooser offers.
Is it possible to skip this chooser dialog and launch the Gallery automatically? Or at least remove the other options from the list so only Gallery displays?
Thank you!
Matt.
I’ve found the solution appropriate for me. The cropper is not strictly used with the Gallery, it is it’s own Activity and can be launched and utilized at any time.
I first have the user select an image, then in onActivityForResult I launch the cropping Activity bundled with the image Uri from the intent specifying the image to crop.
Explains the parameters (extras) the Cropping Activity utilizes
An open source project I referenced to build my own cropping Activity
Matt.