Answer by CommonsWare for Content URI passed in EXTRA_STREAM appears to "To:"...
Replace:intent.setDataAndType(contentUri, "image/jpeg");with:intent.setType("image/jpeg");Your problem is not EXTRA_STREAM, but rather that you are putting the Uri in the Intent's data facet.Also, if...
View ArticleContent URI passed in EXTRA_STREAM appears to "To:" email field
I am creating a file in the cache directory that I'd like to share with others (via Gmail / WhatsApp etc). I am able to do this using FileProvider, and it works OK for WhatsApp. When choosing to share...
View Article
More Pages to Explore .....