Monday, December 30, 2013

SearchableDictionary - Searchable Dictionary

A sample application that demonstrates Android's search framework.
This application includes a dictionary of words. By invoking a search inside the app (via the device search button or Menu > Search), a local search will be performed across the dictionary. As you type, suggestions will appear, which you can select to view the full definition. You can also execute the search to view all word definitions that match the entered text.
The application also grants content provider privileges to Quick Search Box, Android's system-wide search tool. This means that the dictionary definitions can be offered as search suggestions outside of the application, when text is entered into Quick Search Box.
See also:


You can find the source code for this sample in your SDK at:
<sdk>/platforms/android-<version>/samples/

No comments:

Post a Comment