1. To use the customized schema, you can check this message
Launch a custom Android application from an Android browser
Then you could have a QR code of this scheme, as in the market: //
2. You can use the barcode scanner application and use the below code to run, or you can even integrate the zxing library for scanning yourself.
Intent intent = new Intent("com.google.zxing.client.android.SCAN"); intent.setPackage("com.google.zxing.client.android"); intent.putExtra("SCAN_MODE", "ONE_D_MODE,QR_CODE_MODE,PRODUCT_MODE,DATA_MATRIX_MODE"); startActivityForResult(intent, 0);
source share