Skip to main content
16-Pearl
November 18, 2024
Question

How to exit Vuforia View app on button click

  • November 18, 2024
  • 1 reply
  • 1484 views

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

1 reply

14-Alexandrite
November 18, 2024

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?

 

 

16-Pearl
November 19, 2024

Hi @sebben 

We just want to exit the app or go to home screen or something after we are done executing a particular experience. 

 

 

 

 

21-Topaz I
November 20, 2024

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();