简体   繁体   English

如何在Android中获取更详细的位置名称?

[英]How can I get a location's name more detailed in Android?

I'm working a project that request me develop a tracing app. 我正在一个项目,要求我开发一个跟踪应用程序。 This app will automatically record app users' traces and the app can identify a user's activity location, including work place, home and frequently visited locations such as grocery store. 该应用程序将自动记录应用程序用户的踪迹,并且该应用程序可以识别用户的活动位置,包括工作地点,家庭和经常访问的位置(例如杂货店)。 Now i can get the street name, city name and zip code by using geocoder. 现在,我可以使用地址解析器获取街道名称,城市名称和邮政编码。 That's not enough for me, I want get a place name like xxx Medical Center, 123 Green St to help me identify a user's activity location. 这对我来说还不够,我想获得一个名称,例如xxx Medical Center,Green St 123,以帮助我识别用户的活动位置。 How can I do this? 我怎样才能做到这一点?

考虑使用适用于AndroidPlaces API ,它可以帮助您获得地理编码器所不能提供的位置。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何在Android中获取位置名称 - How to get location's name in android 如何创建与每个已安装的android应用相关联的活动(android类)的列表(文件名,位置)(在用户电话上)? - How can I create a list (file name, location) of activities (android classes) associated with each installed android app (on a user's phone)? 如何在 android 中获得 package 名称? - How can I get package name in android? 如何在计时器下运行命令? 下面有更详细的解释 - How can I run commands under a timer? A more detailed explanation below 如何在Android Studio中以字符串形式获取地图标记的位置? - How can I get the location, as a string, of a map marker in Android studio? 如何以编程方式获取 android 中的当前位置? - How can I get the current location in android programatically? 如何获取多部Android手机的位置? - How can i get the location of multiple android phones? 如何在Android中将当前位置作为经度和纬度? - How can I get the current location as a latitude and longitude in Android? 在Android上更详细的列表视图? - More detailed list view on android? 如何在Android中与其他感兴趣的位置一起显示设备的当前位置? - How can I show the device's current location with other interested location in Android?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM