cancel
Showing results for 
Search instead for 
Did you mean: 

Oculus Go file association

Monsieur_D
Honored Guest
I want to open all files of my type (.xxx) with my application. It's a renamed zip file.

For that I have tried a lot of thing in my AndroidManifest.xml file. For now, I have all these intent filters in the "com.unity3d.player.UnityPlayerActivity" activity :
      <intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.BROWSABLE" />
<category android:name="android.intent.category.DEFAULT" />
<data android:scheme="http" />
<data android:host="*" />
<data android:pathPattern=".*\\.xxx" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.BROWSABLE" />
<category android:name="android.intent.category.DEFAULT" />
<data android:scheme="file" />
<data android:host="*" />
<data android:pathPattern=".*\\.xxx" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<data android:mimeType="application/x-compressed" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<data android:mimeType="application/x-zip-compressed" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<data android:mimeType="application/zip" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<data android:mimeType="multipart/x-zip" />
</intent-filter>
I have tried to download a .xxx file with the oculus browser and then click on it on the right panel. Nothing happened ...
I also tried with a zip file. Nothing happened ...

What am I doing wrong ?
Thanks in advance.

Unity 2018.3.9f1
Oculus SDK 1.31
1 REPLY 1

Mastersam59
Honored Guest
I want to do exactly the same, have you got a solution since you open the thread ?