How To create a Simple NDK Program in Android NDK

Posted by Rakesh on Stack Overflow See other posts from Stack Overflow or by Rakesh
Published on 2010-06-18T06:31:25Z Indexed on 2010/06/18 6:33 UTC
Read the original article Hit count: 361

Filed under:

Hi I am new to android Programming and NDK.Yet i am not clear with working in NDK.I just downloaded android ndk r4.If i want to develop appln using NDK,and i refered

http://marakana.com/forums/android/android_examples/49.html

for reference,But still not clear how to create the header file and implementation,I did nt have any previuos exp in c language.And they asked for run javah tool to create the JNI header file.

I dont know how to use javah tool,but i found it in java bin directory and i tried using cmd

javah -jni com.pathname.classname

is this correct syntax?

if so i tried doing it in android bin directory.I want to know ,what classname represents,is this name of header file class that i try to create

Regards

Rakesh Shankar.P

© Stack Overflow or respective owner

Related posts about android-ndk