开发者

Integrating zXing in android [duplicate]

开发者 https://www.devze.com 2023-02-26 03:30 出处:网络
This question already has answers here: QR code scanner (4 answers) Closed 8 years ago. I want to integrate zx开发者_运维百科ing code in my application. I do not want to install barcode s
This question already has answers here: QR code scanner (4 answers) Closed 8 years ago.

I want to integrate zx开发者_运维百科ing code in my application. I do not want to install barcode scanning application separately on device. I have downloaded zXing1.6. I have gone through many posts and forums but unfortunately have not succeeded. Please tell me the steps required to achieve this.


You can simply use the code provided by zxing and then call the barcode reader activity using startActivityForResult, after scanning it will return you the barcode in data object(of Intent type) under onActivityForResult function.

0

精彩评论

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

关注公众号