This is about Google map api. How do I override the class SearchRecentSuggestionsProvider
. I want to use my own database for the search result, not the history of what you input in the input box.
Asked
Active
Viewed 491 times
0

Jonathan Spooner
- 7,682
- 2
- 34
- 41

Michael Jay
- 31
- 4
1 Answers
0
This is well explained in these two articles

Reno
- 33,594
- 11
- 89
- 102
-
The [source code is in the API demos](http://developer.android.com/resources/samples/SearchableDictionary/index.html). If you are not familiar, you should take some time to read the articles and understand the mechanics behind it. – Reno Oct 25 '11 at 06:36
-
I met a problem on it.The demos must work on Android Api 11,but my project is developed on Android API 7. What should I do? – Michael Jay Oct 25 '11 at 08:49
-
Which api is requesting for minimum sdk 11? – Reno Oct 25 '11 at 10:08
-
`ActionBar` is only available for SDK 11 onwards, [see this if you are interested in implementing it](http://stackoverflow.com/questions/5349170/how-to-implement-the-action-bar-in-api-levels-less-than-11) – Reno Oct 26 '11 at 08:56