[英]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? 我怎样才能做到这一点?
考虑使用适用于Android的Places API ,它可以帮助您获得地理编码器所不能提供的位置。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.