Skip to content
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

It's not working on emulator #187

Open
rid-x opened this issue May 7, 2019 · 11 comments
Open

It's not working on emulator #187

rid-x opened this issue May 7, 2019 · 11 comments
Labels
bug Something isn't working less priority The priority of this fix is less compared to other ongoing development pinned requires investigation The changes requested in this PR requires further investigation/improvements

Comments

@rid-x
Copy link

rid-x commented May 7, 2019

Hi. I have tried to take picture on emulator, it's not working!

@pvasa
Copy link
Owner

pvasa commented May 8, 2019

@rid-hrant do you see any errors?

@rid-x
Copy link
Author

rid-x commented May 8, 2019

@rid-hrant do you see any errors?

No.

@rid-x
Copy link
Author

rid-x commented May 8, 2019

Just black screen!
emulator-camera

@rid-x
Copy link
Author

rid-x commented May 8, 2019

Code for taking picture.
mLayout.findViewById(R.id.capture).setOnClickListener(v -> mCameraView.capture());

@pvasa
Copy link
Owner

pvasa commented May 8, 2019

How about camera error listener? Does it throw any exception/warning?

@rid-x
Copy link
Author

rid-x commented May 8, 2019

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.

@pvasa
Copy link
Owner

pvasa commented May 17, 2019

@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-x
Copy link
Author

rid-x commented May 17, 2019

@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.

@pvasa pvasa added bug Something isn't working less priority The priority of this fix is less compared to other ongoing development requires investigation The changes requested in this PR requires further investigation/improvements labels May 21, 2019
@stale
Copy link

stale bot commented Jun 20, 2019

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.

@stale stale bot added the inactive Issue is inactive from a long time label Jun 20, 2019
@pvasa pvasa removed the inactive Issue is inactive from a long time label Jun 22, 2019
@stale
Copy link

stale bot commented Jul 22, 2019

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.

@stale stale bot added the inactive Issue is inactive from a long time label Jul 22, 2019
@stale
Copy link

stale bot commented Jul 29, 2019

Closed due to inactivity.

@stale stale bot closed this as completed Jul 29, 2019
@pvasa pvasa reopened this Aug 21, 2019
@stale stale bot removed the inactive Issue is inactive from a long time label Aug 21, 2019
@pvasa pvasa added the pinned label Aug 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working less priority The priority of this fix is less compared to other ongoing development pinned requires investigation The changes requested in this PR requires further investigation/improvements
Projects
None yet
Development

No branches or pull requests

2 participants