简体   繁体   English

安装Micello Android SDK

[英]Installing Micello Android SDK

I want to develop for an indoor map for an area. 我想开发一个区域的室内地图。 But I couldn't install Micello Android SDK. 但是我无法安装Micello Android SDK。 Can anyone help me to install it to Eclipse? 谁能帮助我将其安装到Eclipse?

http://www.micello.com/developer/forum/cant-run-example http://www.micello.com/developer/forum/cant-run-example

There are two sample applications in the SDK, “Map Test 2” and “Basic Map”. SDK中有两个示例应用程序,“ Map Test 2”和“ Basic Map”。 The “Basic Map” is the bare minimum you need to open a map, and the “Map Test 2” contains examples on how you can do much more customizations. “基本地图”是打开地图所需的最低要求,“地图测试2”包含有关如何进行更多自定义的示例。 Many Android developers reported success in bringing up the reference applications when they use the followed the steps below, can you give that a try ? 许多Android开发人员报告说,当他们按照以下步骤操作时,成功启动了参考应用程序,您可以尝试一下吗?

Here's a list of steps I did to build the Basic Map on Eclipse “ 这是我在Eclipse上构建基本地图的步骤列表:

  1. Import the library File / Import General / Existing Projects into Workspace Next Select root directory Browse then select the folder “Micello Map Library” where you unzipped the package 导入库文件/导入常规/现有项目到Workspace中接下来选择根目录浏览,然后选择文件夹“ Micello Map Library”,在其中解压缩软件包

  2. Import the BasicMap project File / Import General / Existing Projects into Workspace Next Select root directory Browse then select the folder BasicMap where you unzipped the package 将BasicMap项目文件导入/将常规项目/现有项目导入到工作区中接下来,选择根目录,然后浏览,然后选择文件夹BasicMap,在其中解压缩软件包

  3. In the BasicMap project, 在BasicMap项目中,

Right click on the “BasicMap”, then select Properties Click Android, make sure “Micello Map Library” is selected Click Java Build Path, and then the "Library" tab if not already there, then select the button “Add External JARs...”, then browse to the “Micello Map Library/lib” folder and select the file com.micello.mapapi.jar and click open Under the “Order and Export” tab, you should see an entry com.micello.mapapi.jar – with a check box, make sure it's checked. 右键单击“ BasicMap”,然后选择“属性”。单击“ Android”,确保选择“ Micello Map Library”。单击“ Java Build Path”,然后单击“ Library”选项卡(如果尚未存在),然后选择“添加外部JAR”按钮。 ”,然后浏览到“ Micello Map Library / lib”文件夹并选择文件com.micello.mapapi.jar,然后单击“打开”。在“ Order and Export”标签下,您应该看到一个com.micello.mapapi.jar条目。 –选中复选框,确保已选中。 Then click OK 然后点击确定

  1. You should then be able to build the app. 然后,您应该能够构建该应用程序。 But this requires an Android API key, make sure you are using one in the file 'StartActivity.java'. 但这需要一个Android API密钥,请确保您在文件'StartActivity.java'中使用了一个。

If you can then bring up a map in the BasicMap project, then try to do this in Map Test 2, and step through the examples. 如果然后可以在BasicMap项目中调出地图,请尝试在Map Test 2中进行操作,并逐步完成示例。 This should get you a good start in using the Android SDK. 这应该可以让您开始使用Android SDK。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM