Android:如何在我的应用中实现Google搜索框

时间:2014-09-09 11:01:29

标签: android google-maps

我正在开发一个应用程序,我必须根据当前位置获取搜索文本,并在弹出窗口中显示搜索文本列表,就像谷歌搜索栏一样。 有没有什么办法可以使用Android Google Api根据当前位置获取最近的搜索文本? 如果有任何可用的解决方案,请告诉我。谢谢。

1 个答案:

答案 0 :(得分:0)

我使用G oogle Place API获得解决方案 https://developers.google.com/places/documentation/

在我的应用程序中,我想通过在文本框中键入来搜索附近的列表,本教程https://developers.google.com/places/documentation/search对我有很大的帮助。

由于

相关问题