intent icon indicating copy to clipboard operation
intent copied to clipboard

Cannot display specific image in Gallery

Open BoHellgren opened this issue 5 years ago • 1 comments

Hi! Thanks for a great plugin. I am using

android_intent.Intent() ..setAction(android_action.Action.ACTION_MAIN) ..addCategory(android_category.Category.CATEGORY_APP_GALLERY) ..startActivity().catchError((e) => print(e));

to bring up the Gallery. This works, but what I really want to do is to start the Gallery app with the latest image being displayed. This is what the standard Camera app does, so it should be possible. I have tried some putExtra and addFlag but they seem to be ignored.

Any idea how to accomplish this?

BoHellgren avatar Dec 29 '19 16:12 BoHellgren

Did you check it, which holds actual intent info and options for android platform ?

If not consider doing so, because intent 's imitates android intent api ( java based )

itzmeanjan avatar Apr 26 '20 17:04 itzmeanjan