Changing the Barcode Read in Zxing android Embedded

Asked 2 years ago, Updated 2 years ago, 45 views

I'm a beginner in Android development.

I'm thinking of making a barcode reader using Zxing.
I am looking at the Github sample and making it, but I do not know how to change (define) the reading part of the barcode.Could you please let me know?

What I want to do is to display the full screen of the camera and limit the bar code reading to a part of it.

android

2022-09-30 17:07

1 Answers

·If you want to customize Activity to display the camera area
Note: http://osa030.hatenablog.com/entry/2015/10/14/190350
·If you want to call Activity provided in the library and get the results of the reading with onActivityResult
Note: http://qiita.com/alingogo/items/3006e5685057c23db6bd

By the way, if you need an aar file, you need to generate it in Android Studio and import it as a library.Search [Create a project using a local aar file in Android Studio]


2022-09-30 17:07

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.