Search code examples
databaseandroidsqliteandroid-mapviewandroid-searchmanager

Does the Quick Search Box search the database in Android? how?


i have an database with the values of latitude and longitude. i would need to search those values depends on the user input. does the quick search box can search only the database value with the type-to-search feature. Else i want to put a separate EditText and then do the the search process.. if QSB is possible then how to do that? i want to search and drop a pin on the map.. please make a note of it. Any Idea, tutorial and sample codes are most thankful?


Solution

  • Check out the documentation, examples and sample code on the Android Developers' Quick Search Box article.

    As the QSB gets its results from a ContentProvider, you can implement searching of one or more databases or any data source you like.