Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Wrapper Library for Android Camera API [closed]

Tags:

android

camera

Is there a wrapper library for the Android Camera API that covers all the pitfalls in the different API versions (f.e. checks the version if front camera, auto-focus or flash light is available and provides controls for it in the UI) and all the hardware bugs in different handsets ?

like image 352
georam Avatar asked Nov 11 '12 22:11

georam


2 Answers

For anybody who stumbles here searching a camera library, there is CWAC-Camera library which helps reducing the somehow extensive Android Camera API and, at the same time, bringing better support across various devices:

https://github.com/commonsguy/cwac-camera

Hope this helps!

Edited

CWAC-Camera library is deprecated

use this second version

https://github.com/commonsguy/cwac-cam2

like image 158
david.schreiber Avatar answered Oct 17 '22 22:10

david.schreiber


If you aren't so ambicious, the Square Camera is a very simple approach to task, and seems to work nicely: https://github.com/boxme/SquareCamera

No video record, no options, but good focus and the square approach avoid issues with resolution and portrait/landscape modes. Seems to work on devices where CWAC2 doesn't.

like image 1
Renascienza Avatar answered Oct 17 '22 22:10

Renascienza