android: zxing barcode scan successful but not returning from activity

后端 未结 5 552
悲哀的现实
悲哀的现实 2021-01-04 06:23

I am successfully using zxing to scan codes, by calling the installed barcode reader\'s intent, but when it beeps and indicates a good scan I expect the zxing activity would

5条回答
  •  时光说笑
    2021-01-04 06:46

    Why not use the provided IntentIntegrator class? This is the only approach mentioned in the project docs, did you have a look at those? https://github.com/zxing/zxing/wiki/Scanning-Via-Intent

    I created it to wrap up these details of sending and parsing the Intent, so you don't make typos. For example, there's no such thing as extra "com.google.zxing.client.android.SCAN.SCAN_MODE".

提交回复
热议问题