I have developed an android application for playing 360 videos in gear VR device.I have used the below code inside manifest for preventing the gear VR app from auto-launching.(Previously,when i connected the phone with the gear VR device,gear VR app launches instead of my app.And i can't get in to my app)
<meta-data
android:name="com.samsung.android.vr.application.mode"
android:value="vr_only"/>
But when i used this code i can't open the app outside of gear VR device.That means when i click the app icon,the splash screen appears and a popup comes.."to open This application, insert the device into Gear VR".So i changed the manifest as:-
<meta-data
android:name="com.samsung.android.vr.application.mode"
android:value="vr_dual"/>
Now the problem is gear VR app again launches by default when i connected to gear VR device.How to handle this.? Can someone help me to find a solution....