2015-02-10 58 views
0

我打电话给谷歌Places API的与呼叫,谷歌Places API的不返回next_page_token的Android

https://maps.googleapis.com/maps/api/place/search/json?radius=10000&sensor=false&key=MYKEY&location=21.1700,72.8300&types=bank"; 

我设置5秒的延迟第二个呼叫之前,但首先调用本身没有返回next_page_token。 我该怎么办?

另一个问题 如果我尝试写types = bank | cafe,那么eclipse会抛出Illegal Argument Exception。

回答

0

我刚刚执行了相同的搜索,并返回next_page_token作为第二个字段。

我在Sprockets中遇到了与管道字符相同的问题。 I solved it通过URL编码为%7C的管道。

相关问题