简单的二维码扫描工具
开放,允许其它程序调用。以下是调用须知。
开发者文档:
// 参数及结果
mark.qrcode.SCAN // action
mark.qrcode //package
mark.qrcode.CaptureActivity //class
getStringExtra("data") //result
实例:
// 启动扫码
Intent intent = new Intent("mark.qrcode.SCAN");
intent.setClassName("mark.qrcode", "mark.qrcode.CaptureActivity");
try { activity.startActivityForResult(intent, 0); } catch (Exception ignored) { }
// 获取扫码结果
@Override
protected void onActivityResult(int requestCode, int resultCode,
Intent intent) {
if (requestCode == 0) {
if (intent != null && intent.hasExtra("data")) {
String result = intent.getStringExtra("data"); // 扫码结果
}
return;
}
}
This version of 二维码扫描 Android App comes with one universal variant which will work on all the Android devices.
If you are looking to download other versions of 二维码扫描 Android App, We have 1 version in our database. Please select one of them below to download.