cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Did you get called away in the middle of writing a post? Don't worry you can find your unfinished post later in the Drafts section of your profile page. X

How to exit Vuforia View app on button click

Aditya1702
15-Moonstone

How to exit Vuforia View app on button click

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

4 REPLIES 4
sebben
13-Aquamarine
(To:Aditya1702)

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?

 

 

Aditya1702
15-Moonstone
(To:sebben)

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

Announcements

Top Tags