I'm using the Android SearchRecentSuggestionsProvider and Searchable Configuration to display previous in app searches and would like to limit the suggested responses to only return enteries that start with ? (what the user is typing)
currently "p" returns phone, ipod, photo, happy, and what I'm after is just phone and photo
Something eqlivent to SQL like % but I can't seem to get that to work.
<searchable xmlns:android="http://schemas.android.com/apk/res/android"
android:hint="@string/product_search_hint"
android:imeOptions="actionSearch"
android:label="@string/app_label"
android:searchSuggestAuthority="com.myapp.ProductSearchSuggestionProvider"
android:searchSuggestSelection="word MATCH ?" >
</searchable>
Tried:
android:searchSuggestSelection="WORD LIKE '%'?"