公告
财富商城
积分规则
提问
发文
2019-05-26 02:34发布
▲ chillily
I want to read qr code from GDK app to get authorization token.
Is there any build in methods to read QR codes in GDK?
This worked for me.
Intent objIntent = new Intent("com.google.zxing.client.android.SCAN"); objIntent.putExtra("SCAN_MODE", "QR_CODE_MODE"); startActivityForResult(objIntent, 0);
You can read QR using the library located at https://code.google.com/p/barcodefraglibv2/wiki/HowTo Have tested it to work on Glass without any problem.
QR code could be obtained from bitmap using this ZXing library
To get the bitmap Glass camera intent could be used.
最多设置5个标签!
This worked for me.
You can read QR using the library located at https://code.google.com/p/barcodefraglibv2/wiki/HowTo Have tested it to work on Glass without any problem.
QR code could be obtained from bitmap using this ZXing library
To get the bitmap Glass camera intent could be used.