src/android/src/gmvScanner/SecondaryActivity.java
/**
     * Called when a view has been clicked.
     *
     * @param v The view that was clicked.
     */
Called when a view has been clicked.
@param v The view that was clicked.
Called when a view has been clicked . @param v The view that was clicked .
@Override
    public void onClick(View v) {
        if (v.getId() == getResources().getIdentifier("read_barcode", "id", getPackageName())) {
            Intent intent = new Intent(this, BarcodeCaptureActivity.class);
            startActivityForResult(intent, RC_BARCODE_CAPTURE);
        }
    }
@ Override public void onClick ( View v ) { if ( v . getId ( ) == getResources ( ) . getIdentifier ( "read_barcode" , "id" , getPackageName ( ) ) ) { Intent intent = new Intent ( this , BarcodeCaptureActivity . class ) ; startActivityForResult ( intent , RC_BARCODE_CAPTURE ) ; } }
Called when a view has been clicked.
Called when a view has been clicked .
// launch barcode activity.