I need to develop an Android application and use in it an algorithm that is written in C. I found a lot of tutorials for running ONE C function from a java activity. But what I need is:
1) reading a string in a java activity and "sending" it to C/C++ (this part works).
2) starting a little C algo (it is written only in C. I mean from the moment that my algorithm starts I need to call other C functions that are in another C file). This algo creates a new string (precisely char*).
3) returning this new string to the java activity (this part works).
My big problem is the second point. Is there a special way to run an internal (with C functions calls) C code in Android? Special syntax?
I really hope someone here can help me.
Thank you in advance!