问题
All the samples from Vuforia official website use pure Java or Java together with c++. But, my application uses only NativeActivity, in other word, it contains no java code. The question is can I use Vuforia in an application which has only c++ code?
回答1:
NativeActivity is just a Java file provided by the framework: https://android.googlesource.com/platform/frameworks/base.git/+/master/core/java/android/app/NativeActivity.java
Any Android app will need to handle the Android Activity Lifecycle and in your case it will need to wrap any C/C++ code you may have.
来源:https://stackoverflow.com/questions/45158014/can-we-use-vuforia-with-nativeactivity-on-android