use*_*638 6 android google-maps google-maps-api-3 google-places-api google-places
嗨,我开发了一个应用程序,它使用google-places API来获取附近百货商店的列表.这很完美,我正在使用本教程来获取这些地方,但现在我需要再添加一个功能,即; 是否有可能获得特定城市中所有百货商店的详细信息,如果是这样,如何做到这一点.
如果不可能,那该怎么办呢.我搜索过互联网,但我找不到任何有用的东西.
To summarize I need to have 3 buttons in my app.
1. Displays the map which displays the nearby department stores.
2. Displays the nearby stores in the form of a list.
3. Displays the list of stores in a particular city.
Run Code Online (Sandbox Code Playgroud)
我是Android新手,不懂如何做到以上所有.如果有人可以指导我或发布一些教程,我将不胜感激.
谢谢.
我认为最好为您的应用程序维护另一个数据库(您自己的)。在您的数据库中存储所有类型的信息,包括纬度和经度。然后从您的应用程序查询您的数据库。您可以使用 JSON 解析器从数据库中检索数据。
快乐编码
| 归档时间: |
|
| 查看次数: |
762 次 |
| 最近记录: |