i need to open an image in the built in gallery only, with no intent chooser. if i use ACTION_VIEW, i automatically get the chooser.
is there any way to do this?
Tx,
This opens the Gallery (not the picker). Tested on Android 2.3.3 on a Galacxy S
Intent intent = new Intent(Intent.ACTION_VIEW,android.provider.MediaStore.Images.Media.EXTERNAL_CONTENT_URI);
startActivityForResult(intent, 0);
Built-in gallery can be opened like this:
Intent intent = new Intent(Intent.ACTION_PICK, android.provider.MediaStore.Images.Media.EXTERNAL_CONTENT_URI);
startActivityForResult(intent, 0);
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With