I want to know the difference between those 2 projects, why the first uses the NDK and JNI and the other doesn't ?
I would suggest to look at the existing articles and try to understand the meaning of the varios steps and code snippets; it should be fairly easy to port that to Java, as the Java API is easier to integrate in an Java application and does not require the JNI steps.
In the future we plan to also add some Java equivalent of those articles.
Thanks for your reply,
Where can i find some knowledge based articles written in java and not using the jni files ?
I'm interested in topics like:
Adding textures, open a website and display toast on target detection.
ImageTargetsNative shows how to use the C++ API of Vuforia, and as such it used NDK with JNI, while the other samples show how to use the new JAVA API of Vuforia, which was only introduced with version 2.8.7 of the SDK, and so it does not need any NDK nor JNI.
The recommended approach is to use the Java API, as this will make your app development easier, but the C++ API is still available on Android for more advanced use cases, such as integrating C++ 3D engines or other custom / third-party libraries written in C++, for example.
Are you sure you want to delete this message?
Are you sure you want to delete this conversation?