use this line to get selected item from spinner
String str=spinner.getSelectedItem().toString();
More Related Contents:
- android pass ArrayList to activity
- How to pass int value from one activity to another and display in TextView? [duplicate]
- Android with Intent and Custom Listview
- Sending Email in Android using JavaMail API without using the default/built-in app
- How to launch an Activity from another Application in Android
- Launching Google Maps Directions via an intent on Android
- Passing data through intent using Serializable
- Maximum length of Intent putExtra method? (Force close)
- Read a pdf file from assets folder
- Sending arrays with Intent.putExtra
- How do you use Intent.FLAG_ACTIVITY_CLEAR_TOP to clear the Activity Stack?
- What is sharedUserId in Android, and how is it used?
- Android: Pass data(extras) to a fragment
- How to select and crop an image in android?
- How to pass a URI to an intent?
- How to resume Android Activity programmatically from background
- Android Intent for sending email with attachment [duplicate]
- Internet listener Android example
- How to create Button Dynamically in android?
- Android Studio mailto Intent doesn’t show subject and mail body
- FileUriExposedException in Android [duplicate]
- Trivial: Get confirmation of email sent in android
- Intent.putExtras size limit?
- Android “single top” launch mode and onNewIntent method
- Open gallery app from Android Intent
- How to set layout dynamically in android
- Can Activity.getIntent() ever return null?
- Pass Serializable Object to Pending Intent
- Passing ArrayList of string arrays from one activity to another in android
- BroadcastReceiver for ACTION_MEDIA_BUTTON not working