在Android上移植C ++ lib / app [英] Porting C++ lib/app on android

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

问题描述

我想把很少的C / C ++库移植到Android,如何可行。



OpenSSL可以移植
或者假设一个依赖OpenSSL的应用程序,当Android我认为自己有libssl.so



时,将其移植到Android的最佳方式是什么? p>什么工具可用,例如Scratchbox,任何替代品?
有没有经验?

解决方案

android内部维基是一个很好的起点,包括一个链接,说明如何编译简单的本机应用程序。



Scratchbox 似乎成为编写更复杂应用程序的方式图书馆,你可能已经知道了。我建议与这些人联系,以便了解您的OpenSSL项目。


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

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

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.

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 / app的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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