使用Bing地图Android SDK中为库 [英] Using Bing Maps Android SDK as a library

查看:161
本文介绍了使用Bing地图Android SDK中为库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我会在我的Andr​​oid应用程序,以实现一个在应用程序映射,所以我首先想到的是:谷歌地图

I am going to implement an in-application maps in my Android application, so my first thought was: Google Maps.

不过它不支持高速缓存 - 如果用户关闭应用程序,所有加载的地图都将被删除。后来我发现 Bing地图支持缓存。

However it does not support caching - if user closes application, all loaded maps are deleted. Then I found Bing Maps which supports caching.

目前Bing地图 Android SDK中,但它是作为一个整体的Andr​​oid应用程序。我不知道一切是如何使用它。

There is Bing Maps Android SDK, but it is delivered as a whole Android application. I do not know at all how to use it.

是否有任何教程,范例等展示了如何使用它的自定义应用程序作为一个内置的活动?

Are there any tutorials, examples, etc showing how to use it with custom application as a build-in activity ?

推荐答案

SDK 是一个Android项目,因此:

The SDK is an Android project, so:

  1. HTTP下载://bingmapsandroidsdk.$c$cplex.com/
  2. 解压缩它
  3. 在使用它导入到Eclipse中文件 - >导入 - >现有项目到工作区
  4. 右键单击该项目,然后选择运行方式 - > Android项目
  1. Download it from http://bingmapsandroidsdk.codeplex.com/
  2. Extract it
  3. Import it into Eclipse using File -> Import -> Existing Projects into Workspace
  4. Right click the project and choose Run As -> Android Project

这显示了如何使用 BingMapView

不过,我得到的地图,上面写着

However, I get a message on the map that says

凭据无效。注册一个开发者帐户: http://www.microsoft.com/maps/developers

Invalid Credentials. Sign up for a developer account at: http://www.microsoft.com/maps/developers

在这之后,你对你自己的。也许看看他们讨论板

After that, you're on your own. Perhaps check out their discussion board.

这篇关于使用Bing地图Android SDK中为库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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