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 web

Solution icon of github
via GitHub by passiondroid
, 9 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
, 9 months ago
file:///storage/emulated/0/com.fr3ts0n.stagefever exposed beyond app through Intent.getData()

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

Solution icon of github
file:///storage/emulated/0/invoice.pdf exposed beyond app through Intent.getData()

Solution icon of github
via GitHub by Strubbl
, 4 weeks ago
file:///storage/emulated/0/Android/data/fr.gaulupeau.apps.InThePoche.debug/files/Open_VPN_behebt_nach_Audits_Sicherheitsm_ngel___Linux-Magazin.pdf exposed beyond app through Intent.getData()

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

Solution icon of stackoverflow
via Stack Overflow by Dann
, 6 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
, 5 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 github
file:///storage/emulated/0/Android/data/com.kamron.pogoiv/files/Download/GoIV_new.apk exposed beyond app through Intent.getData()

Solution icon of github
via GitHub by coffeemakr
, 8 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, 3 months ago
Samebug visitor profile picture
Unknown user
Once, 4 months ago
Samebug visitor profile picture
Unknown user
Once, 11 months ago