Reputation: 847
can anyone tell me how to port a native c program on android platform..should i include some c libraries or how exactly...?
Thanks in advance,
Upvotes: 7
Views: 7883
Reputation: 847
I have found the solution here is the start..
http://integratingstuff.com/2010/12/12/calling-native-c-code-through-jni-in-android-applications/
http://mindtherobot.com/blog/452/android-beginners-ndk-setup-step-by-step/
Upvotes: 5
Reputation: 8822
I have used all those headers in one of my previous Android NDK implementations, except the mman.h and fb.h. However since mman is under sys and fb is part of android source, I guess you should be able to go ahead with it.
Let's know what issues you come across in the process.
BTW, what calls you need from mman.h?
Upvotes: 1