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

timob-9845: Android: Camera with overlay does not auto focus #3578

Merged
merged 1 commit into from Dec 19, 2012

Conversation

pingwang2011
Copy link
Contributor

https://jira.appcelerator.org/browse/TIMOB-9845
In this PR, we call autoFocus() before the picture is captured if the focus mode is supported. For Android API level > 14, we set the focus mode to FOCUS_MODE_CONTINUOUS_PICTURE, so the camera continuously tries to focus when the preview is active.
Test steps in JIRA.

@ghost ghost assigned krowley Dec 18, 2012
@krowley
Copy link
Contributor

krowley commented Dec 19, 2012

CR + FR OK. Tested on Android 2.2, 2.3, 3.X, and 4.X.
Approved.

krowley added a commit that referenced this pull request Dec 19, 2012
timob-9845: Android: Camera with overlay does not auto focus
@krowley krowley merged commit 749ff9e into tidev:master Dec 19, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants