Updated based on feedback from the ZXing team.
Tonight I decided to try my hand again at building an Android app – this time, one that should in theory be easy and yet feature-rich enough to learn from. It was far from the simple experiment it ought to have been, so I’m sharing my experience to hopefully save you the reader some time if you try this yourself!
ZXing is the heart of the Barcode Scanner app for Android. It’s nifty though it doesn’t take full advantage of my Droid’s camera resolution and there are some other tricks I’d like to see it do (such as activate the flash for improved lighting, replacing the constant autofocus with a forced focus, and perhaps adding some decoding protocols that aren’t supported in the Droid build of this, at least as of Barcode Scanner v3.1). My main goal was to simply rebuild the app for the Android target via a Windows host, then play around with the code to learn more about Android coding.
Continue reading →