I would like to use GIO (which is part of GLIB) on Android by using Android NDK.
It seems like the header files of GIO are part of the Android source code. But they are not provided along with the NDK. Is there a way to bring those header files to the NDK.
In other words, my question is. Android source code has header files of a library. But those header files are not present in Android NDK. How can I install those header files into NDK.
ps: no problem changing the android platform
Just downloading the header files wont work as you need definitions of functions
What you have to do is
-> Download source code of GLIB for android may be from here, place it in /PROJECT_HOME/jni,
-> Build the shared library and include it in when building main library (Using LOCAL_SHARED_LIBRARIES. Also don’t forget to include this include $(call all-subdir-makefiles) in main Android.mk )