I am doing a QR code scanner. Using calling other apps(ZXING) to scan, so now I am going to set a qrcode value like "12345"(text). When my apps scan the value will jump to next layout. So what code should I add on? How to add?
if (resultCode == RESULT_OK) {
String contents = intent.getStringExtra("SCAN_RESULT");
String format = intent.getStringExtra("SCAN_RESULT_FORMAT");
// Handle successful scan
} else if (resultCode == RESULT_CANCELED) {
// Handle cancel
}