Android: Barcode scanning library in a UI View?
-
04-10-2019 - |
Question
Most apps use ZXing, but all examples of ZXing I've seen use a dedicated full screen activity (whether via intent request or embedded Activity class). Are there other bar code scanning libraries that encapsulate the barcode scanning in a View object?
If not, what are the components of ZXing I need to extract and/or rebuild? Can I reuse the CameraManager in my own SurfaceView? The CaptureActivity does not seem very modular for reuse.
No correct solution
OTHER TIPS
MiraSense's Scandit library does this. I am in talks with their developers to see if it their library does what I need.
Additionally, based on video and in person demo, they have a much better implementation than ZXing. Much faster and don't rely on the slow autofocus.