Android: How to get search suggestions
问题 How to get search suggestions when I type some text in my edittext. I am not talking about the interface, but how do i get the actual suggestions like when you type something in the google search bar. Are there any APIs available? Thx! Rahul. 回答1: The Google Suggest API seems to be what you're looking for: http://blogoscoped.com/archive/2006-08-17-n22.html You can try it on that page, and it will show you the results of your query as XML, when you click submit. Then, on Android you would use