【问题标题】:how to load loactions in searchView in android studio?如何在 android studio 的 searchView 中加载位置?
【发布时间】:2015-07-30 13:33:36
【问题描述】:

我是 android 地图概念的新手。我想使用 GPS/地理编码获取位置并添加作为搜索视图的建议,单击建议地图时将显示确切位置?朋友们帮帮我,我该怎么做?

【问题讨论】:

    标签: android-studio android-mapview android-maps-v2 android-maps android-searchmanager


    【解决方案1】:

    如果我没记错的话,您正在寻找与 Google Places API 挂钩的 autocompleteTextView。您可能会发现 this tutorialGoogle Places API documentation 很有帮助。

    【讨论】:

      猜你喜欢
      • 2012-03-01
      • 1970-01-01
      • 2016-08-14
      • 1970-01-01
      • 2020-04-21
      • 1970-01-01
      • 2020-03-25
      • 1970-01-01
      • 2023-01-06
      相关资源
      最近更新 更多