Auto launching of gear vr application when samsung s7 connected to Gear VR device

与世无争的帅哥 提交于 2019-12-12 04:45:08

问题


I have developed an android application using google VR SDK. It will works fine in Samsung S7.But when i attached to Gear VR device the Gear VR app launches,i can't run my application.How can i test my application with the gear VR device.
I have integrated the osig signature file.But unfortunately it never works.

I have seen that by installing some other apps from the playstore will help to run my application with the Gear VR device.But its not possible,b'ze i am in a testing phase and the requirement from client is different.I have to switch my application without installing any other apps.
Is there any way to do this..

Can someone help me to find the answer.?????


回答1:


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

Add this into the your AndroidManifest.xml in application tag. Hope it helps




回答2:


Try turning off NFC on your device before adding to the Gear VR device.



来源:https://stackoverflow.com/questions/42849245/auto-launching-of-gear-vr-application-when-samsung-s7-connected-to-gear-vr-devic

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!