I want to use c/cpp functions/library in an Android application using jni. any suggestion / links / tutorials /example ?
my problem with pointer/structure return
You need to use Android NDK (Native Development Kit).
The NDK package also contains some demos you can compile and run.
The Android NDK is a toolset that lets you embed components that make use of native code in your Android applications. What is the NDK
Following are some link which help you to work in Android NDK