Camera focus function

Forums:

When the camera viewfinder was viewing a background that was close up,  the backgound was blurry and out of focus and the same when the camera is facing a background that is far away.   To make the framework better, especially for the screenshot method,  I made a new camera focus system for the beyondar framework.  

It focuses the camera just before a picture is taken with the screenshot method. 

Just put a pull request on github. 

kkkkk's picture

one line I did not add yet is this  <uses-feature    android:name="android.hardware.camera.autofocus" />

 

it will work without this line.  I think that the small percentage of phones like the lowest cost of the 3 models of Nokia Android X has a fixed focus.  and for those devices the focus function will not crash the app if it is not functional.  

Beyondar's picture

Nice, Thanks for the pull request :)

I'll check it asap