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

Community Tip - You can subscribe to a forum, label or individual post and receive email notifications when someone posts a new topic or reply. Learn more! 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

6 REPLIES 6
sebben
14-Alexandrite
(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

Hi @Aditya1702 ,

because could not find such option I reported it to Vuforia R&D team  as Jira VTS-2209 as mentioned in the other post where directly that question was asked

Thanks, BR

 

Hi @RolandRaytchev ,

 

Do you have any idea if I want to restart the experience after finishing it from Vuforia View?

 

Thanks in advance.

 

Regards,

Aditya Gupta

Announcements

Top Tags