移植Android上C ++的lib /应用程序 [英] Porting C++ lib/app on android

查看:155
本文介绍了移植Android上C ++的lib /应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想将一些C / C ++库到Android,这将是多么可行的是

I want to port few C/C++ libraries to android, how feasible it would be

例如。 OpenSSL的可以将它移植 或者假设一个应用程序,它依赖于OpenSSL的,什么是端口的最好办法是到Android机器人的时候,我认为自己有libssl.so

e.g. openssl can it be ported or suppose an application which depends on openssl, what is the best way to port it to android when android i think itself has libssl.so

哪些工具可用例如Scratchbox的,任何的替代品? 有没有人经历呢?

what are the tools available e.g. scratchbox , any alternatives? Has anybody experience with it?

推荐答案

机器人内部维基是一个很好的起点,包括链接解释如何编写简单的本地应用程序。

The android internals wiki is a good starting point, and includes a link explaining how to compile simple native applications.

<一个href="http://www.macrobug.com/blog/2007/11/25/using-scratchbox-to-build-complex-arm-binaries-for-android/"相对=nofollow> Scratchbox的似乎是要走的路编译更复杂的应用程序和放大器;图书馆,因为你可能已经知道。我会建议您与这些人得到您的OpenSSL的项目产生影响。

Scratchbox does seem to be the way to go for compiling more complex apps & libraries, as you probably know already. I would suggest contacting those folks to get a bearing on your OpenSSL project.

这篇关于移植Android上C ++的lib /应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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