By pavan4
on Tue, 05/13/2014 - 09:25
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.
Android start tracking callback
The ImageTargetsRenderer.java provides a "for loop" in which the TrackabelResults are reported from the Vuforia State.