android.os.FileUriExposedException: file:///storage/emulated/0/DCIM/Camera/wp-1475452167052.jpg exposed beyond app through ClipData.Item.getUri()

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

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via GitHub by maxme
, 1 year ago
file:///storage/emulated/0/DCIM/Camera/wp-1475452167052.jpg exposed beyond app through ClipData.Item.getUri()
via GitHub by AEFeinstein
, 1 year ago
file:///storage/emulated/0/Android/data/com.gelakinetic.mtgfam/files/tmp.jpg exposed beyond app through ClipData.Item.getUri()
via GitHub by hatuongminh96
, 5 months ago
file:///storage/emulated/0/MoodlyPhotos/1490806824774.png exposed beyond app through ClipData.Item.getUri()
via Stack Overflow by lukini
, 2 months ago
file:///storage/sdcard0/Pictures/pyr/filename.jpg exposed beyond app through ClipData.Item.getUri()
via GitHub by ldemay
, 1 year ago
file:///storage/emulated/0/AppName/AppName%20Pictures/061aafec-0acd-488d-b8b0-c7d5fb8c152a.jpg exposed beyond app through ClipData.Item.getUri()
via Stack Overflow by Hernan Razo
, 5 months ago
file:///storage/emulated/0/DCIM/testingImage.jpeg exposed beyond app through ClipData.Item.getUri()
android.os.FileUriExposedException: file:///storage/emulated/0/DCIM/Camera/wp-1475452167052.jpg exposed beyond app through ClipData.Item.getUri()
at android.os.StrictMode.onFileUriExposed(StrictMode.java:1799)
at android.net.Uri.checkFileUriExposed(Uri.java:2346)
at android.content.ClipData.prepareToLeaveProcess(ClipData.java:832)
at android.content.Intent.prepareToLeaveProcess(Intent.java:8909)
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 org.wordpress.android.ui.media.WordPressMediaUtils.launchCamera(WordPressMediaUtils.java:128)
at org.wordpress.android.ui.posts.EditPostActivity.launchCamera(EditPostActivity.java:1229)
at org.wordpress.android.ui.posts.EditPostActivity.onContextItemSelected(EditPostActivity.java:696)
at android.support.v7.app.AppCompatActivity.onMenuItemSelected(AppCompatActivity.java:188)
at com.android.internal.policy.PhoneWindow$PhoneWindowMenuCallback.onMenuItemSelected(PhoneWindow.java:3722)
at com.android.internal.view.menu.MenuBuilder.dispatchMenuItemSelected(MenuBuilder.java:761)
at com.android.internal.view.menu.MenuItemImpl.invoke(MenuItemImpl.java:152)
at com.android.internal.view.menu.MenuBuilder.performItemAction(MenuBuilder.java:904)
at com.android.internal.view.menu.MenuBuilder.performItemAction(MenuBuilder.java:894)
at com.android.internal.view.menu.MenuDialogHelper.onClick(MenuDialogHelper.java:166)
at android.widget.AdapterView.performItemClick(AdapterView.java:310)
at android.widget.AbsListView.performItemClick(AbsListView.java:1155)
at android.widget.AbsListView$PerformClick.run(AbsListView.java:3126)
at android.widget.AbsListView$3.run(AbsListView.java:4041)
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

Write tip

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