Disable Back Button In Vrvideoview Cardboard-mode In Android Sdk
I'm developing an Android app for a controlled environment in which the user should not be allowed to exit the VrVideoView's full screen cardboard mode. By entering the cardboard m
Solution 1:
By poking around in the innards you can get your hands on the dialog (yes, it's a dialog) and disable the back button:
vrView = (VrVideoView) findViewById(R.id.videoView);
vrView.fullScreenDialog.setCancelable(false);
Post a Comment for "Disable Back Button In Vrvideoview Cardboard-mode In Android Sdk"