[Android] Features to target Android TV on Play Store
Geoffrey Métais
git at videolan.org
Mon Feb 9 11:30:50 CET 2015
vlc-ports/android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Thu Feb 5 17:15:57 2015 +0100| [ecc40286f807b9d2ca18f2728f4ad7baa52e98e0] | committer: Geoffrey Métais
Features to target Android TV on Play Store
> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=ecc40286f807b9d2ca18f2728f4ad7baa52e98e0
---
vlc-android/tv/AndroidManifest.xml | 5 +++++
vlc-android/tv/res/drawable-xhdpi/banner.png | Bin 0 -> 7154 bytes
2 files changed, 5 insertions(+)
diff --git a/vlc-android/tv/AndroidManifest.xml b/vlc-android/tv/AndroidManifest.xml
index be00187..90e54a1 100644
--- a/vlc-android/tv/AndroidManifest.xml
+++ b/vlc-android/tv/AndroidManifest.xml
@@ -19,12 +19,16 @@
<uses-permission android:name="android.permission.RECORD_AUDIO" />
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
+ <uses-feature android:name="android.software.leanback"
+ android:required="true" />
<uses-feature
android:name="android.hardware.touchscreen"
android:required="false" />
<uses-feature
android:name="android.hardware.gamepad"
android:required="false" />
+ <uses-feature android:name="android.hardware.microphone"
+ android:required="false"/>
<application
android:name="org.videolan.vlc.VLCApplication"
@@ -33,6 +37,7 @@
android:label="@string/app_name"
android:logo="@drawable/ic_logo_w"
tools:replace="android:theme"
+ android:banner="@drawable/banner"
android:theme="@style/Theme.Leanback" >
<activity
android:name=".gui.MainActivity"
diff --git a/vlc-android/tv/res/drawable-xhdpi/banner.png b/vlc-android/tv/res/drawable-xhdpi/banner.png
new file mode 100644
index 0000000..054d293
Binary files /dev/null and b/vlc-android/tv/res/drawable-xhdpi/banner.png differ
More information about the Android
mailing list