android.os.FileUriExposedException: file:///storage/emulated/0/pverd/JATUMA0000_trab_A161023001.pdf 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 Google Groups by Jaume Tugores, 11 months ago
file:///storage/emulated/0/pverd/JATUMA0000_trab_A161023001.pdf 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 Amey Bansod
, 11 months ago
file:///sdcard/unipunebuddy_data/timetables/Timetable.pdf exposed beyond app through Intent.getData()
via GitHub by coffeemakr
, 9 months ago
file:///storage/emulated/0/Movies/NewPipe/Idiot_Test_90_fail.webm 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/pverd/JATUMA0000_trab_A161023001.pdf 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 android.support.v4.app.BaseFragmentActivityJB.startActivityForResult(BaseFragmentActivityJB.java:48)
at android.app.Activity.startActivity(Activity.java:4507)
at android.app.Activity.startActivity(Activity.java:4475)
at es.puigverd.puigverd.otss.otss.verpdf(otss.java:592)
at es.puigverd.puigverd.otss.otss.InfTrabajo(otss.java:580)
at es.puigverd.puigverd.otss.otss.onClick(otss.java:291)
at android.view.View.performClick(View.java:5609)
at android.view.View$PerformClick.run(View.java:22259)
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, 4 months ago
Samebug visitor profile picture
Unknown user
Once, 5 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

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