android.os.FileUriExposedException: file:///storage/emulated/0/nextcloud/andy%40********/IMG_20150628_140508.jpg exposed beyond app through Intent.getData()

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by AndyScherzinger
, 1 year ago
file:///storage/emulated/0/nextcloud/andy%40********/IMG_20150628_140508.jpg exposed beyond app through Intent.getData()
via Stack Overflow by Amey Bansod
, 11 months ago
file:///sdcard/unipunebuddy_data/timetables/Timetable.pdf exposed beyond app through Intent.getData()
via GitHub by candrews
, 1 year ago
file:///storage/emulated/0/Download/2e5b188e-41fc-45ed-9a50-d5b67bcfa515.apk exposed beyond app through Intent.getData()
via GitHub by passiondroid
, 10 months ago
file:///storage/emulated/0/Pictures/QuoteCards/IMG_2017_01_09_17_03_19.png exposed beyond app through Intent.getData()
via Stack Overflow by behelit
, 1 year ago
file:///android_asset/Page2.html exposed beyond app through Intent.getData()
via Stack Overflow by Rishabh Bhatia
, 1 year ago
file:///android_asset/2.html exposed beyond app through Intent.getData()
android.os.FileUriExposedException: file:///storage/emulated/0/nextcloud/andy%40********/IMG_20150628_140508.jpg exposed beyond app through Intent.getData()
at android.os.StrictMode.onFileUriExposed(StrictMode.java:1799)
at android.net.Uri.checkFileUriExposed(Uri.java:2346)
at android.content.Intent.prepareToLeaveProcess(Intent.java:8933)
at android.content.Intent.prepareToLeaveProcess(Intent.java:8894)
at android.app.Instrumentation.execStartActivity(Instrumentation.java:1517)
at undefined.cx.startActivityForResult(PG:48)
at undefined.de.startActivityForResult(PG:75)
at undefined.de.startActivityForResult(PG:871)
at android.app.Activity.startActivity(Activity.java:4507)
at android.app.Activity.startActivity(Activity.java:4475)
at undefined.ujz.startActivity(PG:155)
at undefined.mcv.a(PG:1123)
at undefined.sjh.a(PG:434)
at undefined.sjw.a(PG:323)
at undefined.sjx.run(PG:1027)
at undefined.vnr.run(PG:95)
at undefined.sju.run(PG:1291)
at android.os.Handler.handleCallback(Handler.java:751)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:154)
at android.app.ActivityThread.main(ActivityThread.java:6077)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:865)

Users with the same issue

4 times, 5 months ago
Samebug visitor profile picture
Unknown user
Once, 5 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.