יום ראשון, 27 באפריל 2014

Generating ndk h files using Eclipse

I  found that the best way to generate Android ndk h file is by using Eclipse extended tools options.
By using the following properties dialog run -> external tools -> external tools configuration ,we can declare an external tool that generate the native h files .
Capture5 
-classpath  "${project_classpath};C:\DevTools\Android\adt-bundle-windows-x86-20131030\sdk\platforms\android-19\android.jar" ${java_type_name}

 I found it beater to declare the pathes hard coded .
Capture6
Capture7 
The result:
Capture8
Resources:
The book:Pro Android C++ with the NDK by Onur Cinar



אין תגובות:

הוסף רשומת תגובה