android.os.FileUriExposedException

file:///storage/emulated/0/Pictures/QuoteCards/IMG_2017_01_09_17_03_19.png exposed beyond app through Intent.getData()


Solutions on the web63

Solution icon of github
via GitHub by passiondroid
, 7 months ago
file:///storage/emulated/0/Pictures/QuoteCards/IMG_2017_01_09_17_03_19.png exposed beyond app through Intent.getData()

Solution icon of github
via GitHub by dmha
, 7 months ago
file:///storage/emulated/0/com.fr3ts0n.stagefever exposed beyond app through Intent.getData()

Solution icon of github
via GitHub by codehz
, 6 months ago
file:///storage/emulated/0/newsreader_news_wxkm.apk exposed beyond app through Intent.getData()

Solution icon of github
file:///storage/emulated/0/nextcloud/andy%40********/IMG_20150628_140508.jpg exposed beyond app through Intent.getData()

Solution icon of github
via GitHub by HYVincent
, 8 months ago
file:///storage/emulated/0/Android/data/cn.bingoogolapple.update.demo/files/apk/BGAUpdateDemo_v1.0.0.apk exposed beyond app through Intent.getData()

Solution icon of github
file:///storage/emulated/0/Download/2e5b188e-41fc-45ed-9a50-d5b67bcfa515.apk exposed beyond app through Intent.getData()

Solution icon of stackoverflow
via Stack Overflow by Dann
, 4 months ago
file:///storage/emulated/0/Android/data/com.name.name/files/Download/OOOO.xlsx exposed beyond app through Intent.getData()

Solution icon of github
via GitHub by tcitworld
, 3 months ago
file:///storage/emulated/0/Android/data/fr.gaulupeau.apps.InThePoche/files/Microsoft_is_planning_to_turn_Windows_10_PCs_into_Amazon_Echo_competitors.pdf exposed beyond app through Intent.getData()

Solution icon of googlegroups
via Google Groups by Jaume Tugores, 7 months ago
file:///storage/emulated/0/pverd/JATUMA0000_trab_A161023001.pdf exposed beyond app through Intent.getData()

Solution icon of github
via GitHub by coffeemakr
, 6 months ago
file:///storage/emulated/0/Movies/NewPipe/Idiot_Test_90_fail.webm exposed beyond app through Intent.getData()

Stack trace

  • android.os.FileUriExposedException: file:///storage/emulated/0/Pictures/QuoteCards/IMG_2017_01_09_17_03_19.png exposed beyond app through Intent.getData() at android.os.StrictMode.onFileUriExposed(StrictMode.java:1813) at android.net.Uri.checkFileUriExposed(Uri.java:2360) at android.content.Intent.prepareToLeaveProcess(Intent.java:8981) at android.content.Intent.prepareToLeaveProcess(Intent.java:8942) at android.app.Instrumentation.execStartActivity(Instrumentation.java:1583) at android.app.Activity.startActivityForResult(Activity.java:4228) at android.support.v4.app.BaseFragmentActivityJB.startActivityForResult(BaseFragmentActivityJB.java:50) at android.support.v4.app.FragmentActivity.startActivityForResult(FragmentActivity.java:79) at android.app.Activity.startActivityForResult(Activity.java:4187) at android.support.v4.app.FragmentActivity.startActivityForResult(FragmentActivity.java:859) at android.app.Activity.startActivity(Activity.java:4515) at android.app.Activity.startActivity(Activity.java:4483) at com.quotes.app.cards.activity.MainActivity$4.onClick(MainActivity.java:376)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

4 times, 1 month ago
Samebug visitor profile picture
Unknown user
Once, 1 month ago
Samebug visitor profile picture
Unknown user
Once, 9 months ago