获取Android应用程序内从谷歌地图最近的公交站 [英] Getting nearest bus stations from Google Map inside Android Application

查看:154
本文介绍了获取Android应用程序内从谷歌地图最近的公交站的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的Andr​​oid应用程序中,我需要实现以下目标而努力。

I am working on an Android application in which I need to achieve the following goals.


  1. 获取设备的当前位置(坐标) - 完成

  2. 给定半径定心最近的巴士站的设备位置,并列出它们在搜索。

我需要第二件事帮助。有没有办法让一个Android应用程序内从谷歌地图最近的公交站?我可以使用谷歌Places API的实现这一目标?(官方网页称,它仍然是实验性的)。如果是的话,怎么样?

I need help on the second thing. Is there any way to get the Nearest bus stations from the Google Map inside an android application? Can I use Google Places API to achieve this?(the official page says that it's still experimental). If yes, how?

感谢。

推荐答案

我能成功地参照的戴维的技术博客文章,并在提供的code样品 Github上

I could successfully achieve these by referring Davy's Tech Blog Article and the code sample provided in Github

感谢您的帮助。

这篇关于获取Android应用程序内从谷歌地图最近的公交站的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆