New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Android N FileUriExposedException: exposed beyond app through ClipData.Item.getUri() #11
Comments
try add this code before capture image : StrictMode.VmPolicy.Builder builder = new StrictMode.VmPolicy.Builder(); |
StrictMode.VmPolicy.Builder builder = new StrictMode.VmPolicy.Builder(); that is work for me. |
this solution worked!! thanks. |
You are genius |
Oh, I thought I have solved this issue. Now this still happens on Android N ? |
That's a dirty workaround and not a proper solution. Refer to https://stackoverflow.com/questions/48117511/exposed-beyond-app-through-clipdata-item-geturi for more details |
|
ava.lang.IllegalStateException: Binder has been finalized! |
StrictMode.VmPolicy.Builder builder = new StrictMode.VmPolicy.Builder(); |
On Android N, When trying to capture image from camera the following ex raised: FileUriExposedException: exposed beyond app through ClipData.Item.getUri()
The text was updated successfully, but these errors were encountered: