Integrating BINARY EYE QR CODE SCANNER using INTENT

Dear All.
Am working on a questionare which requires scanning of complex QR Codes.

I know there is native odk/kobo scanner widger (barcode) ,but it is not performing well on scanning and it is very slow. (In my case)

Now, i found this app BINARY EYE , it worked well on scannung my qr codes and It supports intent. But i cant make it work with odk intent and callback. I have tried a lot
(zxing and some other apps, are not working as they dont support android 14)

Can someone help me with the intent setup or an xlsx file with intergration of an external qr scanner app.

Thanks in advance

Welcome back to the community, @pruzige! This post discussed previously should help you solve your issue:

Thanks very much. This is realy frustratin me right now. I have used all my resources but i have failed to get it working. bad thing ,ZXING which is more straight is not avilable fro android 14

Baseline Survey 2024.xlsx (165.1 KB)
Dear @Kal_Lam

Attached is my form. See the yellow highlisted line. The thing is I can get the BINARY EYE opened by odk using the INTENT on the appearance column. But i cant get the scanned result back to odk

Dear All, at last i have managed to do it so.
External app: BINARY EYE QR CODE SCANNER (open source )
Intent: ex:com.google.zxing.client.android.SCAN (uses zxing libraries)
Qn Type: string/text

Issue: Scanned content result from binary eye is denoted by ‘SCAN_RESULT’ key , while odk recognises ‘value’ key hence ODK collect was not able to capture the scanned content from binary eye

Solution: Used Android studio to edit BINARY EYE source code (because its open source) . Specifically i edited CameraActivity.kt file in Binary Eye , so it returns the scan result with the value key (which ODK Collect expects) instead of the default SCAN_RESULT .
I have tested the apk, it work very fine with odk. If you are interested on this i can share the files

1 Like

Hi! can you please share me the apk? :grinning_face:

Hello Friend

Link to the APK:: https://www.mediafire.com/file/9heeul54c6wmott/Binary_Eye_-_Customised_for_ODK.apk/file

External App Tester.xlsx (197.6 KB) --Test XLSX

Scan Intent (put on appearance column of a qn) :: ex:com.google.zxing.client.android.SCAN

1 Like

thank you, friend! pretty cool solution!

Very nice!

Have you considered forking the original BinaryEye project (I assume this?) on GitHub together with your change(s), and making it available specifically for Kobo/ODK Collect integration?

Thanks,
i will do it

1 Like