I read this post on how calling native c-code through JNI in Android applications. I have tested the code and works fine! This program makes a JNI call and prints a string that comes from a C function. Is possible to show the console output of a C function (e.g. the results of printf etc.) in an Android app with the same way?
http://integratingstuff.com/2010/12/12/calling-native-c-code-through-jni-in-android-applications/