final String scanResult = result.getText();
Intent intent = new Intent(getBaseContext(), ResultPage.class);
intent.putExtra("SCAN_RESULT", scanResult);
startActivity(intent);
Now you can find scanResult in ResultPage activity
String s = getIntent().getStringExtra("SCAN_RESULT");
More Related Contents:
- Extracting only digits from a String [closed]
- Unfortunately MyApp has stopped. How can I solve this?
- Execution Failed for task :app:compileDebugJavaWithJavac in Android Studio
- Cannot create or edit Android Virtual Devices (AVD) from Eclipse, ADT 22.6
- How to get URL from Firebase Storage getDownloadURL
- Unable to execute dex: Multiple dex files define
- Error:(23, 17) Failed to resolve: junit:junit:4.12
- Change the System Brightness Programmatically
- String comparison – Android [duplicate]
- Change background color of single specific menu items of navigationView
- Create a new TextView programmatically then display it below another TextView
- I would like to set my variables at the top of my class instead of in the method
- What exactly does URLConnection.setDoOutput() affect?
- Unable to execute dex: GC overhead limit exceeded in Eclipse
- URLConnection getContentLength() is returning a negative value
- RecyclerView not calling onCreateViewHolder or onBindView
- How does BreakIterator work in Android?
- What is the correct way to do inserts/updates/deletes in Android SQLiteDatabase using a query string?
- Android Days between two dates
- java.lang.RuntimeException: takePicture failed
- Firebase Database points to wrong database URL
- How to print to the console in Android Studio?
- Google Maps API and custom polyline route between Markers
- Cant start service? (Speech recog)
- Android LocationServices.FusedLocationApi deprecated
- android studio with Java compiler error: string too large to encode using UTF-8 written instead as ‘STRING_TOO_LARGE’
- Exception in thread “main” java.lang.NoClassDefFoundError: junit/textui/ResultPrinter
- Can Activity.getIntent() ever return null?
- Asynctask: pass two or more values from doInBackground to onPostExecute
- How to save and retrieve Date in SharedPreferences