eleybourn / Book-Catalogue

A book cataloging tool for Android phones.
https://github.com/eleybourn/Book-Catalogue/wiki
GNU General Public License v3.0
383 stars 186 forks source link

Integrate with Zxing scanner #365

Open Grunthos opened 12 years ago

Grunthos commented 12 years ago

Build Zxing into the app. This would reduce problems resulting from goggles, and allow app control from withing the scanner.

Grunthos commented 12 years ago

Also see:

https://github.com/eleybourn/Book-Catalogue/issues/10

for a related discussion

Grunthos commented 11 years ago

One gotcha: if the camera is fixed focus, then goggles does not work and Zxing will most likely fail.

We may want to add a warning if the camera does not have variable focus...if that can be detected.

silin commented 11 years ago

Since Android API 7 we can check it through getPackageManager().hasSystemFeature(PackageManager.FEATURE_CAMERA_AUTOFOCUS) flag.

Grunthos commented 11 years ago

I guess that leads to the question are there any manual focus phone cameras out there? Seems unlikely.

Grunthos commented 11 years ago

Seems I was wrong. Most tablets are fixed focus.

Now we have pic2shop support (BC V5.0), fixed focus cameras are less of a problem.