I am creating a cordova application with a WP8 native page. I am calling the native page in the js file by making the call,
WL.NativePage.show(nativePageClassName, backFromNativePage, params);
The native page is a usercontrol (as mentioned in the documentation) and I have implemented augmented reality in the usercontrol. Code below:
<ARControls:ARDisplay x:Name="ARDisplay">
<!-- Shows the content from camera-->
<ARControls:VideoPreview x:Name="VideoPreview"/>
.
.
.
</ARControls:ARDisplay>
The camera opens when this usercontrol is called. But once I do a forward navigation from this usercontrol and then clicks back button, the usercontrol is visible but the camera doesn't get opened and I do not get a callback to this usercontrol on backkeypress. How can this be handled? Any help would be much appreciated.