"We offer new support options and therefor the forums are now in read-only mode! Please check out our Support Center for more information." - Vuforia Engine Team

Android start tracking callback

I am trying to build my own application on android seeing the ImageTarget example. 

In the sample there is a startup initialisation delay which is marked by a progress bar. 

It is stopped when the tracking starts in the render class.

How do I get a callback when it has started tracking ?  I tried the  "onInitARDone" Method but the tracking starts 2 seconds after that metho is called as I can see from the logcat. 

05-13 11:22:08.094: E/ImageTargets(10911): onInitARDone called 05-13 11:22:10.144: D/ImageTargets(10911): QCAR  update : object found stones The stones and the phone are fixed for the test.  In the ImageTarget sample the object is found immediately after the progressbar quits.

 

AlessandroB

Fri, 05/16/2014 - 10:00

The ImageTargetsRenderer.java provides a "for loop" in which the TrackabelResults are reported from the Vuforia State