Quantcast
Channel: Error: Cannot attach empty file in GMAIL app using File provider - Stack Overflow
Viewing all articles
Browse latest Browse all 7

Answer by PArth SOni for Error: Cannot attach empty file in GMAIL app using File provider

$
0
0
Uri contentUri = FileProvider.getUriForFile(this, "com.mydomain.fileprovider", newFile);intent.addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION);intent.addFlags(Intent.FLAG_GRANT_WRITE_URI_PERMISSION);i.setData(contentUri);

Viewing all articles
Browse latest Browse all 7

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>