Does Android come with a way to do Full Text Search?
I know is it not even possible to search contacts by the notes field, being Google the search company, but I would be disappointed if there is no API for that.
Does Android come with a way to do Full Text Search?
I know is it not even possible to search contacts by the notes field, being Google the search company, but I would be disappointed if there is no API for that.
Android has a search API to add results to Quick Search Box, which is the system-wide search framework. As for what actually is indexed (full text or not), that's up to your application. You'll be provided with a search string via an Intent, it's up to you to convert that into results.
See this article for more details on interacting with this API:
http://developer.android.com/resources/articles/qsb.html
You should also read the docs on android.app.SearchManager:
http://developer.android.com/reference/android/app/SearchManager.html
The easiest way to provide Full Text Search is to use FTS3 in SQLite: http://bakhtiyor.com/2009/08/sqlite-full-text-search/