Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/android/179.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/google-maps/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Android 如何使用GooglePlaces让安卓系统在一个城市里的所有百货商店都出现?_Android_Google Maps_Google Maps Api 3_Google Places Api_Google Places - Fatal编程技术网

Android 如何使用GooglePlaces让安卓系统在一个城市里的所有百货商店都出现?

Android 如何使用GooglePlaces让安卓系统在一个城市里的所有百货商店都出现?,android,google-maps,google-maps-api-3,google-places-api,google-places,Android,Google Maps,Google Maps Api 3,Google Places Api,Google Places,嗨,我开发了一个应用程序,它使用谷歌的PlacesAPI获取附近百货公司的名单。这是完美的作品,我使用教程获得的地方,但现在我需要添加一个更多的功能,这个ie;是否有可能获得某个城市所有百货公司的详细信息,如果有,如何做到这一点 如果这是不可能的,如何去做。我在网上搜索过,但没有找到任何有用的东西 To summarize I need to have 3 buttons in my app. 1. Displays the map which displays the nearby depa

嗨,我开发了一个应用程序,它使用谷歌的PlacesAPI获取附近百货公司的名单。这是完美的作品,我使用教程获得的地方,但现在我需要添加一个更多的功能,这个ie;是否有可能获得某个城市所有百货公司的详细信息,如果有,如何做到这一点

如果这是不可能的,如何去做。我在网上搜索过,但没有找到任何有用的东西

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新手,不知道如何做上述所有事情。如果有人能指导我或发布一些教程,我将不胜感激


谢谢。

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


快乐编码

假设所有这些信息都是可用的,对此我深表怀疑。他们可能会列出一些商店,但不是全部,当然不是所有的城市。我知道我现在想要的是,它是我的纬度和经度,并显示半径3000米以内的地方,但我想添加另一个按钮,使我能够显示整个城市的商店。我想扩大范围,但它将显示已经存在的商店此外,它还将页面中的位置限制为20个,总共60个。