From within my application, I\'m trying to create an email that contains an image contained in a bitmap object.
private void sendEmailWithBitmapAttached(){
I solved my issue by also adding permission flags to the intent, like this:
intent.setFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION);
More details can be found in documentation: https://developer.android.com/reference/android/support/v4/content/FileProvider.html#Permissions