Community Tip - Did you know you can set a signature that will be added to all your posts? Set it here! X
Hi Everyone,
Good Afternoon,
I want to exit Vuforia View app on click of a button.
Can anyone please help me out.
Thanks in advance.
Regards,
Aditya Gupta
Hi,
this is not possible. As for most mobile apps you just use the home or back button of the device to close the app.
And there is always the arrow in the top left corner of Vuforia View to exit the experience.
In which situation do you feel its necessary to have a exit button for the app?
Hi @sebben
We just want to exit the app or go to home screen or something after we are done executing a particular experience.
Hi @Aditya1702 one possibly option I think , is to navigate to a dummy view or back to scan mode
to naviage to view
$scope.navigate("dummyView");
//or
$scope.app.fn.navigate('CHAR2DVIEW');
that will emit also the event app-fn-navigate. If you want you can handle it via listener:
$scope.$on('app-fn-navigate', function(evt, arg) {
console.log("app-fn-navigate :"+arg);
});
to navigate to scan mode you can use navigateToScanMode api example:
$scope.app.fn.navigateToScanMode();
Hi @RolandRaytchev ,
Thanks the navigate to scan mode is working.
Can we navigate to library instead of scan mode is there any way?
Thanks in advance.
Regards,
Aditya Gupta