By listening to the broadcast, the onreceive event can be called back after scanning;
but the pda only provides how to get the barcode result, here is the intent to get the barcode_string
to get the type of the QR code scanned this time
Through the data returned by the intent, you can see that there is a codetype (lowercase) value in mExtra;
String codeType = intent.getStringExtra("codetype");
Note: the intent has not passed the intent. When the code of getstringextr is used, the data displayed by mExtra does not contain the data of codetype, and only after passing through. record some