Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
updated to support the oculus quest headset
- Loading branch information
1 parent
6758385
commit f9b2507
Showing
4 changed files
with
136 additions
and
93 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,41 +1,53 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<manifest xmlns:android="http://schemas.android.com/apk/res/android" | ||
package="com.nintendont.virtualboygo" | ||
android:versionCode="1" | ||
android:versionName="1.1" | ||
android:installLocation="auto" > | ||
<uses-sdk android:minSdkVersion="21" android:targetSdkVersion="21" /> | ||
<uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" /> | ||
<uses-permission android:name="android.permission.INTERNET" /> | ||
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> | ||
package="com.nintendont.virtualboygo" | ||
android:installLocation="auto" | ||
android:versionCode="1" | ||
android:versionName="1.3.1"> | ||
|
||
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> | ||
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" /> | ||
<uses-sdk | ||
android:minSdkVersion="21" | ||
android:targetSdkVersion="25" /> | ||
|
||
<uses-feature android:name="android.hardware.usb.host" /> | ||
<!-- Tell the system this app requires OpenGL ES 3.1. --> | ||
<uses-feature android:glEsVersion="0x00030001" android:required="true" /> | ||
<application | ||
android:allowBackup="false" | ||
android:icon="@drawable/ic_launcher" | ||
android:label="@string/app_name" > | ||
<meta-data android:name="com.samsung.android.vr.application.mode" android:value="vr_only"/> | ||
<!-- launchMode is set to singleTask because there should never be multiple copies of the app running --> | ||
<!-- Theme.Black.NoTitleBar.Fullscreen gives solid black instead of a (bad stereoscopic) gradient on app transition --> | ||
<!-- If targeting API level 24+, configChanges should additionally include 'density'. --> | ||
<!-- If targeting API level 24+, android:resizeableActivity="false" should be added. --> | ||
<activity | ||
android:name="com.nintendont.virtualboygo.MainActivity" | ||
android:theme="@android:style/Theme.Black.NoTitleBar.Fullscreen" | ||
android:label="@string/app_name" | ||
android:launchMode="singleTask" | ||
android:screenOrientation="landscape" | ||
android:configChanges="screenSize|screenLayout|orientation|keyboardHidden|keyboard|navigation|uiMode"> | ||
<!-- This filter lets the apk show up as a launchable icon --> | ||
<intent-filter> | ||
<action android:name="android.intent.action.MAIN" /> | ||
<category android:name="android.intent.category.LAUNCHER" /> | ||
</intent-filter> | ||
</activity> | ||
</application> | ||
<uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" /> | ||
<uses-permission android:name="android.permission.INTERNET" /> | ||
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> | ||
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" /> | ||
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> | ||
|
||
<uses-feature android:name="android.hardware.usb.host" /> | ||
<!-- Tell the system this app requires OpenGL ES 3.1. --> | ||
<uses-feature | ||
android:glEsVersion="0x00030001" | ||
android:required="true" /> | ||
<uses-feature | ||
android:name="android.hardware.vr.headtracking" | ||
android:required="true" | ||
android:version="1" /> | ||
|
||
<application | ||
android:allowBackup="false" | ||
android:icon="@drawable/ic_launcher" | ||
android:label="@string/app_name"> | ||
<meta-data | ||
android:name="com.samsung.android.vr.application.mode" | ||
android:value="vr_only" /> | ||
<!-- launchMode is set to singleTask because there should never be multiple copies of the app running --> | ||
<!-- Theme.Black.NoTitleBar.Fullscreen gives solid black instead of a (bad stereoscopic) gradient on app transition --> | ||
<!-- If targeting API level 24+, configChanges should additionally include 'density'. --> | ||
<!-- If targeting API level 24+, android:resizeableActivity="false" should be added. --> | ||
<activity | ||
android:name="com.nintendont.virtualboygo.MainActivity" | ||
android:configChanges="screenSize|screenLayout|orientation|keyboardHidden|keyboard|navigation|uiMode" | ||
android:label="@string/app_name" | ||
android:launchMode="singleTask" | ||
android:screenOrientation="landscape" | ||
android:theme="@android:style/Theme.Black.NoTitleBar.Fullscreen"> | ||
<!-- This filter lets the apk show up as a launchable icon --> | ||
<intent-filter> | ||
<action android:name="android.intent.action.MAIN" /> | ||
<category android:name="android.intent.category.LAUNCHER" /> | ||
</intent-filter> | ||
</activity> | ||
</application> | ||
</manifest> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters