【问题标题】:upload googlemap in android app, using eclipse在android应用程序中上传googlemap,使用eclipse
【发布时间】:2010-10-29 21:45:08
【问题描述】:

我正在尝试使用 eclipse 在 android 应用程序中上传 googlemap。但结果是我只看到没有地图的白色网格。是因为我使用了临时 Maps API 密钥吗?如何注册新密钥?

【问题讨论】:

    标签: android google-maps


    【解决方案1】:

    上传 googlemap 是指运行一个使用 mapactivity 的应用程序吗?如果您已注册您的密钥并将其正确放入 xml,那么您几乎肯定会忘记添加 INTERNET 权限。

    【讨论】:

    • 我打算运行一个使用 mapactivity 的应用程序,我确实在 mainfest 中添加了 INTERNET 权限:... 。关于密钥注册,我把它放在 main.xml 中: ...schemas.android.com/apk/res/android" android:id="@+id/mapview" android:layout_width= "fill_parent" android:layout_height="fill_parent" android:clickable="true" android:apiKey="Nxxxxxxxxxxxxxxxxxxw"/>。谢谢
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2015-09-13
    • 2018-11-05
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多