Skip to content
This repository has been archived by the owner on Apr 12, 2022. It is now read-only.

Camera option not working in any version. #1

Open
arunsheta opened this issue Jun 7, 2021 · 3 comments
Open

Camera option not working in any version. #1

arunsheta opened this issue Jun 7, 2021 · 3 comments

Comments

@arunsheta
Copy link

Multi picker is working well, but not able to capture image using the device camera.

@muriloventuroso
Copy link

I got this error on my android device:

W/System.err( 7471): java.io.IOException: Permission denied
W/System.err( 7471): 	at java.io.UnixFileSystem.createFileExclusively0(Native Method)
W/System.err( 7471): 	at java.io.UnixFileSystem.createFileExclusively(UnixFileSystem.java:317)
W/System.err( 7471): 	at java.io.File.createTempFile(File.java:2018)
W/System.err( 7471): 	at com.sangcomz.fishbun.util.CameraUtil.createImageFile(CameraUtil.java:64)
W/System.err( 7471): 	at com.sangcomz.fishbun.util.CameraUtil.takePicture(CameraUtil.java:31)
W/System.err( 7471): 	at com.sangcomz.fishbun.ui.picker.PickerController.takePicture(PickerController.java:41)
W/System.err( 7471): 	at com.sangcomz.fishbun.adapter.view.PickerGridAdapter$1.onClick(PickerGridAdapter.java:74)
W/System.err( 7471): 	at android.view.View.performClick(View.java:7307)
W/System.err( 7471): 	at android.view.View.performClickInternal(View.java:7284)
W/System.err( 7471): 	at android.view.View.access$3600(View.java:821)
W/System.err( 7471): 	at android.view.View$PerformClick.run(View.java:28053)
W/System.err( 7471): 	at android.os.Handler.handleCallback(Handler.java:883)
W/System.err( 7471): 	at android.os.Handler.dispatchMessage(Handler.java:100)
W/System.err( 7471): 	at android.os.Looper.loop(Looper.java:226)
W/System.err( 7471): 	at android.app.ActivityThread.main(ActivityThread.java:7592)
W/System.err( 7471): 	at java.lang.reflect.Method.invoke(Native Method)
W/System.err( 7471): 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:539)
W/System.err( 7471): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:950)

@jayeshindianic
Copy link

add android:requestLegacyExternalStorage="true" this in you manifest.xml file, in your application tag.

@ankillashiva123
Copy link

Multi picker is working well, but not able to capture image using the device camera.

Same issue here ? Any updates on this?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants