public void onScanImageClick ( View v ) { Intent intent = new Intent ( this , ScanImageActivity . class ) ; intent . putExtra ( ExtrasKeys . EXTRAS_LICENSE_KEY , LICENSE_KEY ) ; intent . putExtra ( ExtrasKeys . EXTRAS_RECOGNITION_SETTINGS , mRecognitionSettings ) ; startActivityForResult ( intent , MY_REQUEST_CODE ) ; }
Handler for `` Scan Image '' button