So far into my foray with using NDK with Android Studio, I've written the Java Wrapper, generated the header file, and filled in some functions in the corresponding c++ file in JNI folder.
What I'm trying to do right now is to get a simple build going so that I can verify things work. My project relies on some c++ source files located outside of my entire android project. Do I build those source files somehow from within Android? How do I access them? Is there anything I need to do from Gradle?
I'm incredibly new to building projects with across multiple sources, so I have no idea what to do. Apologies if the questions don't make sense. Any help is greatly appreciated (:
Android.mk
and aApplication.mk
for NDK; the face-detection example in the OpenCV-android-sdk should help understand how to prepare for building with NDK.