Log in or register to post comments

using only ImageTarges.java and not ImageTarges.cpp

September 4, 2012 - 2:42pm #1

There is some method in class ImageTarges.java that works only when a tracker is recognized?

 

I would like show a message at LogCat always that a tracker is recognized, but using only the ImageTarges.java file. I necessarily need change the ImageTarges.cpp file?

using only ImageTarges.java and not ImageTarges.cpp

October 18, 2016 - 9:40am #3

Hi, I'm also searching the .cpp files, cloud you please share your knowledge, I'm very new to this Vuforia development.

Right now I replaced 3D image with 2D images[TextPlane], searching for on-click function implementation. 

using only ImageTarges.java and not ImageTarges.cpp

September 4, 2012 - 3:23pm #2

You can log messages from C++ using LOG("message");

To call from the GL render thread in C++ to Java, I'd recommend that you implement a Handler. See the Dominoes sample for an example of how to do this using the GUIManager class that implements a thread-safe handler that can be called from the C++ renderFrame loop.

Though if you simply want to log from Java, and won't be changing the app's UI, then you could implement a JNI call instead. Dominoes shows you how to do this as well w/ the displayMessage() call from _renderFrame.

Log in or register to post comments