Android的REQUEST_DENIED谷歌的地方API [英] Android REQUEST_DENIED Google places API

查看:134
本文介绍了Android的REQUEST_DENIED谷歌的地方API的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我对Android的谷歌地图应用程序,但查询字符串工作我使用的,要接近用户不能正常使用的地方结果。

I am working on Android Google maps application but the query string i am using to get results of places near by the user is not working.


http://maps.googleapis.com/maps/api/place/search/json?location=123.666,33.166&radius=50000&sensor=false&types=establishment&name=hotel&key={myKey}

我使用这个链接来获得地图API密钥

下面是我收到的反应。

      {
         "html_attributions" : [],
         "results" : [],
         "status" : "REQUEST_DENIED"
      }

感谢

推荐答案

您需要生成通过邻居API密钥: 的https://$c$c.google.com/apis/console/

You need to generate the Places API key via: https://code.google.com/apis/console/

更多关于此下: https://developers.google.com/places/documentation/#Authentication

心连心

这篇关于Android的REQUEST_DENIED谷歌的地方API的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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