question

101apps avatar image
101apps asked

share bitmap using Intent.createChooser

hi, i have created an app, which includes an option to share a cached bitmap. it works perfectly on devices i have tested it on (samsung, sony and asus). however, when testing it on a kindle fire 7 inch tablet, the sharing option does not work (checking the logcat, shows that the startActivity(Intent,createChooser()) is called but nothing happens. here's the code i am using inside a fragment: Intent shareIntent = new Intent(Intent.ACTION_SEND); shareIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_DOCUMENT); shareIntent.setType("image/*"); shareIntent.putExtra(Intent.EXTRA_STREAM, uri); getActivity().startActivity(Intent.createChooser(shareIntent, "Choose an app to share the image")); so what am i doing wrong that it's not working on the kindle fire? any help will be appreciated. thanks clive
fire tablet
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

Jamie Grossman avatar image
Jamie Grossman answered
Hi there! Thanks for posting. Could you please run adb logcat whilst testing this feature to see if there is any more information there? If you could then share it with us, that would be greatly appreciated. Regards, Jamie
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.