Commit 2ae8ede0 authored by TwistedUmbrella's avatar TwistedUmbrella
Browse files

Android TV config (pending travis API 21 support)

parent 6cf0d1ac
......@@ -24,7 +24,7 @@ Tools required:
* NDK r8b or newer
- https://developer.android.com/tools/sdk/ndk/index.html
- If are not using r9c+, comment the "NDK_TOOLCHAIN_VERSION := 4.8" in shell/android/jni/Application.mk and shell/android/xperia/jni/Application.mk
* Android 4.4 (API 19) & Android 2.3.1 (API 9)
* Android 5.0.1 (API 21) & Android 2.3.1 (API 9)
- http://developer.android.com/sdk/installing/adding-packages.html
- note that API 9 is hidden (you must check to show obsolete in SDK manager)
* Ant
......@@ -36,7 +36,7 @@ export ANDROID_NDK=/ # Type the full path to your NDK here
cd shell/android/
android update project -p . --target "android-19"
android update project -p . --target "android-21"
ant debug
```
......
......@@ -35,11 +35,19 @@
<uses-feature
android:name="android.hardware.gamepad"
android:required="false"/>
<!--uses-feature
android:name="android.software.leanback"
android:required="false" /-->
<application
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:theme="@style/AppTheme" >
<!--
android:banner="@drawable/ic_banner"
android:logo="@drawable/ic_banner"
android:isGame="true"-->
<meta-data
android:name="xperiaplayoptimized_content"
android:resource="@drawable/ic_xperia_play" />
......@@ -53,6 +61,7 @@
<category android:name="android.intent.category.LAUNCHER" />
<category android:name="tv.ouya.intent.category.GAME" />
<!--category android:name="android.intent.category.LEANBACK_LAUNCHER" /-->
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.VIEW" />
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment