简体   繁体   English

使用Android NDK详细信息

[英]Using Android NDK Details

I have [android - ndk] folder and i want to run a C program using .JAVA file , i am using eclipse & ADT 22.3, i would like to know how to compile and run .java file not using command prompt but eclipse, and what steps and processing done in b\\w as : 我有[android-ndk]文件夹,我想使用.JAVA文件运行C程序,我正在使用eclipse&ADT 22.3,我想知道如何不使用命令提示符而是通过eclipse来编译和运行.java文件,并且在b \\ w中执行的步骤和处理如下:

.java code --> .h [header file ] by /> (javah) command in >cmd ..and so on. .java代码->> cmd ..中的/>(javah)命令中的.h [头文件],依此类推。 if there's any tutorial kindly mention the link. 如果有任何教程,请提及链接。

i have tried cmd method but unable to get the (.dll) file from .c file, 我尝试了cmd方法,但无法从.c文件中获取(.dll)文件,

Regards 问候

http://www.ntu.edu.sg/home/ehchua/programming/android/Android_NDK.html http://www.ntu.edu.sg/home/ehchua/programming/android/Android_NDK.html

See the above link that can help you. 请参阅上面的链接,它可以为您提供帮助。

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

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