views:

394

answers:

1

I ask somthing about static library..

" how to create executable static library in android?"

and

"How to connect static library in eclipse?"

Static library is a binary file, How to understand static library in jni?

I wondering static library operation method in android.. (such as static library in vc++)

I'm exptected your reply.

Thanks a lot !

+1  A: 

Take a look at this tutorial: Writing C code for Android

Essentially, you will need a compiler that would compile your C/C++ code for the Android platform. Android comes with Native development toolkit(NDK) that you can download: it will aid you in writing and compiling executables(.so) files for the Android platform. You can then use JNI to interface Java with native code.

You can download the NDK from the official site: see here. By default the NDK contains a Hello_World_JNI program that you can look at for starters.

Samuh