Compiling A Library In C For Android
I have installed the SDK,NDK,JDK and Cygwin. I want to know if I will need to edit the code of libraries to make them compile for Android(armv7). I basically need to port a variet
Solution 1:
The Android NDK will compile standard C syntax, but Android does not have the same C stdlib library as desktops; instead it has its own alternative called Bionic. Sometimes when you compile large projects, you run into stdlib function calls that bionic doesn't support and you have to put a small workaround.
Sometimes popular libraries have existing JNI wrappers, otherwise you have to make a JNI call for the functions your applications call.
Post a Comment for "Compiling A Library In C For Android"