【问题标题】:Google API giving request denied error in Android native app谷歌API在Android本机应用程序中给出请求被拒绝错误
【发布时间】:2013-02-18 05:03:57
【问题描述】:

网址 http://maps.googleapis.com/maps/api/geocode/json?address=Pune&sensor=false/true 在桌面浏览器上工作正常,但是当我从 android 本机应用程序调用它时,它给了我 Request Denied 错误。

有什么猜测吗?

【问题讨论】:

    标签: android google-maps


    【解决方案1】:

    那是因为你是这样尝试的:

    http://maps.googleapis.com/maps/api/geocode/json?address=pune&sensor=false/true
    

    试试这个:

    http://maps.googleapis.com/maps/api/geocode/json?address=pune&sensor=false
    

    并根据您的要求制作传感器值truefalse

    我得到的结果是here

    【讨论】:

    • 我已经尝试了 true 和 false 两个选项,但仍然是相同的错误.......
    猜你喜欢
    • 2016-10-14
    • 2019-04-05
    • 2019-12-06
    • 1970-01-01
    • 1970-01-01
    • 2022-06-24
    • 1970-01-01
    • 2012-09-04
    • 1970-01-01
    相关资源
    最近更新 更多