sdk - Android how to open app both outside and inside gear vr device -


i have developed android application playing 360 videos in gear vr device.i have used below code inside manifest preventing gear vr app auto-launching.(previously,when connected phone gear vr device,gear vr app launches instead of app.and can't in app)

<meta-data     android:name="com.samsung.android.vr.application.mode"     android:value="vr_only"/> 

but when used code can't open app outside of gear vr device.that means when click app icon,the splash screen appears , popup comes.."to open application, insert device gear vr".so changed manifest as:-

<meta-data     android:name="com.samsung.android.vr.application.mode"     android:value="vr_dual"/> 

now problem gear vr app again launches default when connected gear vr device.how handle this.? can me find solution....


Comments