如何导入Navit到Eclipse,并在自己的Andr​​oid项目中使用它 [英] How to import Navit into Eclipse and use it in own android project

查看:190
本文介绍了如何导入Navit到Eclipse,并在自己的Andr​​oid项目中使用它的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想创建一个将使用3D导航自定义应用程序。我发现Navit开源项目,其中有我需要的所有功能。我检查了最后Navit源$ C ​​$ C从仓库中发现 href=\"https://navit.svn.sourceforge.net/svnroot/navit/trunk/navit/\">。下载项目后,我想描述这里将其导入到Eclipse工作空间。但是,我遇到了一个问题,因为当我浏览到Android的文件夹中,也没有发现项目,所以进口无法做到的。我想作为进口的手册中描述的从现有的code新的Andr​​oid项目。我甚至手动创建项目试过,但没有成功。我缺少什么?

I'd like to create a custom application which would use 3D navigation. I found the Navit opensource project, which has all functionalities that I need. I checked out the last Navit source code from the repository found here. After downloading the project I wanted to import it into eclipse workspace as described here. But there I ran into a problem, because when I navigate to Android folder, there is no project found, so the import can't be done. I tried importing as "new android project from existing code" as described in the manual. I even tried by manual creation of the project, but with no success. What am I missing?

感谢您的答复!

推荐答案


  • 启动一个新的项目,挑选进口SVN结果
    SVN合作的svn://svn.repository.with.navi.$c$c.you.want.to.import

  • 选择C / C ++项目

  • 选择现在GNU自动工具(如果有下的工具链没有安装自动工具(的autoconf,automake的/ gettext的),通过您的操作系统软件包管理系统)

  • 打开一个终端,切换到您的工作区navit文件夹,并调用 cmake的./
    你现在有您的本地设置相匹配的makefile

  • 在Eclipse中,选择构建所有,你应该得到的二进制

  • 运行应用和您当地的构建应该启动

这篇关于如何导入Navit到Eclipse,并在自己的Andr​​oid项目中使用它的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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