On Tue, Apr 27, 2010 at 1:10 PM, ivopus <ivo...@gmail.com> wrote: > I'm having problems with spinner. I'm using spinner that is bound to > a SimpleCursorAdapter. > I want to retrieve the text value of the selected item. > android.database.sqlite.sqlitecur...@435a72c0 >
I haven't used this myself, but knowing that you are using a SimpleCursorAdapter, and based on the output of the toString() method showing it to be an SQLiteCursor, I looked at the documentation for SimpleCursorAdapter. This led me to this function: http://developer.android.com/intl/fr/reference/android/widget/SimpleCursorAdapter.html#convertToString(android.database.Cursor) (That's SimpleCursorAdapter.convertToString(Cursor), in case it gets cut off). Maybe that's what you need? ------------------------------------------------------------------------------------------------- TreKing - Chicago transit tracking app for Android-powered devices http://sites.google.com/site/rezmobileapps/treking -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en