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.GetTracker<ImageTracker>().Stop();_____________________For Pause tracking}else{OnTrackingLost();TrackerManager.Instance.GetTracker<ImageTracker>().Start();_____________________For Resume tracking}}
In android I used,
TrackerManager.getInstance().getTracker(ObjectTracker.getClassType()).stop();CameraDevice.getInstance().stop();
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..