============ Problem Description ============
Looked up some information, did not find, mobile phone camera focus on the selected area of the method, like a millet camera, click on which. Where the display is particularly clear of that function, ask the big God how to do this function ....
============ Solution 1============
Focus on this issue, earlier versions were not resolved. Android 4.0 new camera class, there is a Setfocusareas method to set the focal length.
Early riser SDK because the phone variety is not aligned, some lack of hardware support, so there is no unified focus interface, the new SDK has appeared.
============ Solution 2============
This is for hardware support, not all camera can.
First call Getmaxnumfocusareas () to see if support, Google's note:
Before using this API or {@link #setFocusAreas (List)}, apps should
Call {@link #getMaxNumFocusAreas ()} to know the maximum number of
Focus areas first. If The value is 0, focus area is not supported.
Android camera focus problem, ask big God weapon.