Hi,
I am trying to pause the vuforia tracking in android code,
My augmented content is video,As the user will track the marker the video should get displayed,then when user will lock it,It should pause the tracking.
I am able to do that in Unity.
In unity my code is,
if(GUI.Button(new Rect(10, Screen.height-70, 200, 60),unlock)){
{
islock = !islock;
if(islock)
{
TrackerManager.Instance.
}
else
{
OnTrackingLost();
TrackerManager.Instance.
}
}
In android I used,
In Android code I am stopping 'tracking and camera' Both,.beacause it doesnt work only stopping tracking.
But In that I am facing problem that As the camera stop it keep the same screen(means it just store the screen).
I want to keep camera on after pausing tracking and the augmeneted content also remain as it is.
How can I achieve this in android.(I am facing this problem in android).
please help..
After stopping the tracker, just de-activate the dataset. You can re-activate the dataset and re-start the tracker again when needed.