Skip to content Skip to sidebar Skip to footer

How To Close Default Gallery Programmatically?

I am using this code Intent photoPickerIntent = new Intent(Intent.ACTION_PICK,android.provider.MediaStore.Images.Media.EXTERNAL_CONTENT_URI); photoPickerIntent.setType('ima

Solution 1:

You can't.

That chooser is actually a separate activity, launched by intent (which will then launch another activity via intent when the user selects something).

You don't control that chooser, its not actually in your app.

Post a Comment for "How To Close Default Gallery Programmatically?"