I have a program written in C with a standard main()
function.
Is it possible to run this program on Android, e.g. launching it from my application or from one of the many shell applications? If so, what steps do I need to take to achieve this? Can I just compile the application with the NDK?
I know there are some answered questions on how to link C functions to Android code, mainly pointing out to NDK tutorials, but none of them was, at least for me, clear. It seems that NDK is all about using C functions, not running a fully C compiled program. Is this correct?