]> git.ipfire.org Git - thirdparty/hostap.git/commit
wpadebug: Add support for QR Code scanning and display via zxing
authorPurushottam Kushwaha <pkushwah@codeaurora.org>
Tue, 30 Jan 2018 15:05:46 +0000 (20:35 +0530)
committerJouni Malinen <j@w1.fi>
Thu, 8 Feb 2018 16:39:41 +0000 (18:39 +0200)
commit717f236dce3ed571e9a61fcce86d8a37a7f7bc1b
tree65c8121822bbe32a88ad9d7c6db8e32d33683e19
parent8f7a50a63ef8523110a44201eb3885e14ca24f84
wpadebug: Add support for QR Code scanning and display via zxing

Enhance wpadebug application to support scanning and displaying of QR
codes. This depends on a third-party source: zxing
(https://github.com/zxing/zxing).

Shell command to launch scanner/viewer via wpadebug is:
>adb root
>adb shell

Scanner:
>am start -n w1.fi.wpadebug/w1.fi.wpadebug.QrCodeScannerActivity
Viewer:
>am start -n w1.fi.wpadebug/w1.fi.wpadebug.QrCodeDisplayActivity

QR code string input/output file would be generated in
'/sdcard/wpadebug_qrdata.txt' in the device.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
wpadebug/AndroidManifest.xml
wpadebug/README
wpadebug/res/layout/qrcode.xml [new file with mode: 0644]
wpadebug/src/w1/fi/wpadebug/QrCodeDisplayActivity.java [new file with mode: 0644]
wpadebug/src/w1/fi/wpadebug/QrCodeScannerActivity.java [new file with mode: 0644]