cameraview-ex
cameraview-ex copied to clipboard
It's not working on emulator
Hi. I have tried to take picture on emulator, it's not working!
@rid-hrant do you see any errors?
@rid-hrant do you see any errors?
No.
Just black screen!
Code for taking picture.
mLayout.findViewById(R.id.capture).setOnClickListener(v -> mCameraView.capture());
How about camera error listener? Does it throw any exception/warning?
How about camera error listener? Does it throw any exception/warning?
com.priyankvasa.android.cameraviewex.CameraViewException: Af mode 4 not supported by selected camera. Setting it to off.
@rid-hrant I found the cause of the issue. It is because Af mode 4 is not supported and when that happens the impl should fall back to AF_OFF
but for some reason it does not and that is why always trying to use auto focus even when it is not supported. I haven't got a chance to look into the fix yet.
@rid-hrant I found the cause of the issue. It is because Af mode 4 is not supported and when that happens the impl should fall back to
AF_OFF
but for some reason it does not and that is why always trying to use auto focus even when it is not supported. I haven't got a chance to look into the fix yet.
Good. Will wait for fix.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Closed due to inactivity.