Topic locked

what is the difference between the ImagesTargetsNative and the imageTargets in vuforia samples

March 7, 2014 - 8:48am #1

I want to know the difference between those 2 projects, why the first uses the NDK and JNI and the other doesn't ?

 

what is the difference between the ImagesTargetsNative and the i

March 8, 2014 - 7:06am #4

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.

 

 

what is the difference between the ImagesTargetsNative and the i

March 7, 2014 - 4:34pm #3

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.

Thanks.

what is the difference between the ImagesTargetsNative and the i

March 7, 2014 - 9:35am #2

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.

 

Topic locked