Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/google-maps/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Android:如何在我的应用程序中实现类似谷歌的搜索框_Android_Google Maps - Fatal编程技术网

Android:如何在我的应用程序中实现类似谷歌的搜索框

Android:如何在我的应用程序中实现类似谷歌的搜索框,android,google-maps,Android,Google Maps,我正在开发一个应用程序,在这个应用程序中,我必须根据当前位置获取搜索文本,并在弹出窗口中显示搜索文本列表,就像谷歌搜索栏一样。 有没有什么方法可以让我们使用Android Google Api根据当前位置获取最近的搜索文本? 如果有任何解决方案,请告诉我。谢谢 我使用Google-Place API得到了解决方案 在我的应用程序中,我想通过在文本框中键入来搜索附近区域的列表,本教程对我帮助很大 谢谢

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

我使用Google-Place API得到了解决方案

在我的应用程序中,我想通过在文本框中键入来搜索附近区域的列表,本教程对我帮助很大

谢谢