finds.dev← search

// the find

trikita/obsqr

★ 60 · C · MIT · updated May 2019

obsqr - minimalistic QR and barcode scanner for Android

A minimal Android QR/barcode scanner app built on ZBar, with the native C library bundled directly in the repo. Targets developers who want a no-frills scanner without Google Play Services dependencies — there's a separate `gmsvision` flavor that swaps in Google's vision API if you prefer.

Ships prebuilt `.so` files for seven ABIs including mips/mips64, so you don't need NDK toolchain set up just to build the APK. The GMS/ZBar split via product flavors is clean — same Java surface, swappable decode backend. Includes actual instrumented tests with real QR image fixtures, not just unit mocks. Zero runtime dependencies beyond ZBar itself.

Abandoned since 2019 — Android camera APIs have moved entirely to CameraX/Camera2 and this still uses the deprecated `android.hardware.Camera` API, which is removed or broken on many modern devices. The ZBar fork is vendored C source from circa 2012 with no upstream sync path. Requires `minSdkVersion 14` (Android 4.0), which means the gradle config is years out of date and will fight modern AGP versions. No MLKit path, which is what you'd actually reach for in 2024.

View on GitHub → Homepage ↗

// want more like this?

We dig through GitHub every week and send a few repos picked for what you actually care about — each with an honest take like this one.

Get finds in your inbox → Search again →