Getting selected data from spinner using getSelectedItem() results in error

by gganesh » Fri, 04 Sep 2009 15:30:50 GMT


Sponsored Links
 Hi,
The spinner is binded with data's from from database using
SimpleCursorAdapter
and to display the selected data I used the method as below

   textview.setText(spinner.getSelectedItem().toString())

this gives me an out put like
android.database.sqlite.sqlitecur...@437451a0

Is this the right way to get the selected data?



--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. Vids of App Progress CNET iPhone UI libs working

Yes you can use CNET's iPhone UI js libs on Android..just change top
or parent anonymous js function to a named js function.

I started doing vids of my app dev progress at:

http://www.youtube.com/user/memine44


--~--~---------~--~----~------------~-------~--~----~

2. Why File.mkdirs() can not succeed?

I use new File("/data/mydir/tmp").mkdirs() to create dir  mydir and
tmp, but it can not be created, does anyone using File.mkdirs() in
android.
--~--~---------~--~----~------------~-------~--~----~

3. Fwd: Menu Issue

4. AT&T on dev phone, data connection not working

5. untrusted mail server cert

6. Menu Issue

7. $25 fee is not justified