Suggest matches a partial word or phrase you enter and comes up with a list of possible completions. Select one of the results to do a search on that item. The results are amazingly accurate, and are refined based on your location and searches other people are doing right now. This program is a sample from an upcoming edition of "Hello, Android" by Ed Burnette, published by the Pragmatic Programmers. It demonstrates calling web services, multi-threading, XML Parsing, and the Google Suggest API. 建议匹配您输入部分的词或短语，并提出了尽可能完整的列表。选择的结果之一做了该项目的搜索。 结果是惊人的准确，并根据您的位置和搜索其他人正在做的事情精致。 这项计划是“你好，Android的”由Ed伯内特，对即将到来的版本的务实程序员公布的样本。它表明调用Web服务，多线程，XML解析，以及谷歌建议API。
1.0.1: Fixed a crash on Android 2.x calling ArrayListAdapter.addAll(); that doesn't exist until 3.0. Replaced it with a loop that calls add(). Exercise for the reader: test BUILD.VERSION and call the best one.