How to Port a C++ Project into Android NDK?

  • Context: C/C++ 
  • Thread starter Thread starter knowLittle
  • Start date Start date
  • Tags Tags
    Android C++ Project
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
1 reply · 3K views
knowLittle
Messages
307
Reaction score
3
Hello All,

I know that this post is very old, but I have a similar question. I believe that it is very relevant and there should be copious material on the net, but I have been unable to find it.

I am trying to port a C++ project into Android. My project uses NTL, GMP, and OpenSSL. I am able to compile this libraries using instructions on the net, but I wonder how to go about calling the code in the project.
I have seen examples that individually call a function from a library in C++. So, this function would be wrapped in JAVA JNI form.
I highly doubt that this is the way to go in porting a huge project with many lines of code in many different files and different function calls.

Any one can help?
Thank you.
 
Physics news on Phys.org
This is a very good question and deserves to see some input, but unfortunately I don't have any good input, for I am having the same problem.