二维码扫描 1.0 Apk

二维码扫描 1.0 icon
Category: Tools
Requires: Android 2.2 and up
Curent version: 1.0
Updated: 15.10.2016
Price: Free
Size: 0.11 Mb
Download: 42

Rate saved, Thank!

4.3 (1 votes)

Description of 二维码扫描

Simple two-dimensional code scanning tool

Open to allow other programs to call. The following is the call notes.
Developer Documentation:
// Parameters and results
mark.qrcode.SCAN // action
mark.qrcode // package
mark.qrcode.CaptureActivity // class
getStringExtra ( "data") // result

Example:
// Start the scan code
Intent intent = new Intent ( "mark.qrcode.SCAN");
intent.setClassName ( "mark.qrcode", "mark.qrcode.CaptureActivity");
try {activity.startActivityForResult (intent, 0);} catch (Exception ignored) {}

// Get the scan code results
@Override
protected void onActivityResult (int requestCode, int resultCode,
                                Intent intent) {
    if (requestCode == 0) {
        if (intent! = null && intent.hatra ( "data")) {
            String result = intent.getStringExtra ( "data"); // scan code results
        }
        return;
    }
}

Read more...

Images

Share this App

Also from Tu Yafeng

About Privacy Policy Feedback Report a policy violation