开发者

Android: Barcode scanning library in a UI View?

开发者 https://www.devze.com 2023-01-17 14:11 出处:网络
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

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 开发者_如何学CI reuse the CameraManager in my own SurfaceView? The CaptureActivity does not seem very modular for reuse.


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消