如何使用谷歌地方让所有百货商店出现在Android城市?

时间:2013-02-05 06:35:32

标签: android google-maps google-maps-api-3 google-places-api google-places

您好我开发了一款使用google-places API获取附近百货商店列表的应用。这非常有效,我正在使用this教程来获取这些地方,但现在我需要为此添加一个功能,即;是否可以获得特定城市中所有百货商店的详细信息,如果是这样的话。

如果不可能,那该怎么办呢。我在互联网上搜索过,但我找不到任何有用的东西。

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.

我是Android的新手,并不了解如何执行上述所有操作。如果有人可以指导我或发布一些教程,我将不胜感激。

感谢。

1 个答案:

答案 0 :(得分:2)

我认为为您的应用维护另一个数据库(您自己的)会更好。在您的数据库中存储所有类型的信息,包括纬度和经度。然后从您的应用程序查询您的数据库。您可以使用JSON解析器从数据库中检索数据。

快乐编码