how to use opencv in native code without ndk
i am writing a library in native code, which use opencv. because i have the whole android 4.2.2 code ,so i can compile my code in android framework , i need not the ndk compiling. i refer to the opencv for android tutorial, in native/c++, which tell me need write android.mk and application.mk, but in framework native level, i have no application.mk, i google application.mk, it is used by ndk.
how i can setup my opencv environment in android native framework? someone can help me, thanks all!
you do need the ndk to compile any native code for android.