简体   繁体   English

将C ++项目移植到Android

[英]Porting C++ Project to Android

I have a big C++ application developed on windows,I need to port it to Android to run it as galaxy tab application. 我有一个在Windows上开发的大型C ++应用程序,我需要将其移植到Android才能作为银河选项卡应用程序运行。

I read many tutorials about NDK but it seems difficult to embed C++ files into Android. 我阅读了许多有关NDK的教程,但似乎很难将C ++文件嵌入到Android中。

Can I develop "DLL" using NDK? 我可以使用NDK开发“ DLL”吗? and invoke DLL from DLL? 并从DLL调用DLL?

any help would be highly appreciated . 任何帮助将受到高度赞赏。

Starting with 2.3, you can write android-applications completely in C++. 从2.3开始,您可以完全用C ++编写android-applications。 Prior to 2.3, you had to create a shared object (the Linux equivalent of a DLL) using JNI, and call this from Java. 在2.3之前的版本中,您必须使用JNI创建一个共享库(在Linux上等效于DLL),然后从Java调用它。

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

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