Quantcast
Channel: Content URI passed in EXTRA_STREAM appears to "To:" email field - Stack Overflow
Browsing all 2 articles
Browse latest View live

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 Article



Content 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
Browsing all 2 articles
Browse latest View live




Latest Images