I am developing a simple android app where I need to scan different barcode formats such as Qr code, EAN_8, EAN_13 and Data Matrix. I followed this tutorial Android Barcode Scanner and it works perfectly for scanning Qr code, EAN_8, EAN_13, but it does not work for Data Matrix. What do I have to add in the code to make it work for scanning Data matrix? I suppose I need to have a third button with some code like this: `Button scanner3 = (Button)findViewById(R.id.scanner3); scanner2.setOnClickListener(new OnClickListener() {
public void onClick(View v) {
Intent intent = new Intent("com.google.zxing.client.android.SCAN");
**intent.putExtra("SCAN_MODE", "PRODUCT_MODE");**
startActivityForResult(intent, 0);
}
});`
But the SCAN_MODE needs to be something else like DATA_MATRIX_MODE... What is the correct syntax?