Sunday, June 26, 2011

[android-developers] search suggestions

Hi,


I followed the description in this article to implement the search
system, everything works fine.
http://developer.android.com/guide/topics/search/index.html

But I dont understand the "the user selects a suggestion" behavior.

The user enter a search string in the textfield and the system displays
the list of suggestions provided by the Cursor.

But when the user select a row from the (suggestions) table my search
activity gets the string from the text field as query and not the string
from the selected row. And now my search activity shows another table
with the same entries.

What goes wrong?


Ralph

--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment