http://habrahabr.ru/tag/search%20dialog/
http://developer.android.com/guide/topics/search/index.html
http://developer.android.com/resources/samples/SearchableDictionary/index.html
http://android-developers.blogspot.com/2009/09/introducing-quick-search-box-for.html
Also, there is no guarantee that every device provides a dedicated SEARCH button to invoke the search interface in your application. When using the search dialog or a custom interface, you must always provide a search button in your UI that activates the search interface.
The search dialog is a UI component that's controlled by the Android system. When activated by the user, the search dialog appears at the top of the activity. The search widget is an instance of SearchView that you can place anywhere in your layout.However, the search widget is available only in Android 3.0 (API Level 11) and higher.
SQLite database
Online data
.......
Regardless of where your data lives and how you search it, we recommend that you return search results to your searchable activity with an Adapter. This way, you can easily present all the search results in a ListView. If your data comes from a SQLite database query, you can apply your results to a ListView using a CursorAdapter. If your data comes in some other type of format, then you can create an extension of BaseAdapter
this.onSearchRequested();
No comments:
Post a Comment