Sylvester Steele wrote:
> both getChildAt and getSelectedView return some weird string. 

Actually, they both return a View. You need to cast the View to the type 
you created as your entries (e.g., TextView), then get the data out of 
there (e.g., getText().toString()). If you're relying on the adapter's 
built-in row types, they'll be TextView instances.

 > Can anything else be done?
> My ListView is connected to a simple adapter which gets its input from
> a cursor.

If you post some code showing how you're populating the adapter and 
attempting to get at the selected string, we might be able to give more 
concrete suggestions.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com
Warescription: All titles, revisions, & ebook formats, just $35/year

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to