Files
bilipicks/android/AndroidManifest.xml
amin 6a48a28458 电视版应用 1.2:主页一键更新;修快进一下跳好几次
- 主页右上角「检查更新」:读 tv-app.json,下载、核对 SHA-256 / 包名 / 签名,交给系统安装
- release.sh:构建并生成 release/BiliPicks-tv.apk 和 tv-app.json,可复制到网站
- 补按给播放器的方向键带记号,老 WebView 交回来时丢掉,快进不再一下跳好几次
2026-11-14 22:25:07 +08:00

29 lines
1.9 KiB
XML
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.minlibuilds.bilipicks" android:versionCode="5" android:versionName="1.2">
<uses-sdk android:minSdkVersion="21" android:targetSdkVersion="28"/>
<uses-permission android:name="android.permission.INTERNET"/>
<!-- 应用内更新:自己下载新版、交给系统安装(系统会弹确认框) -->
<uses-permission android:name="android.permission.REQUEST_INSTALL_PACKAGES"/>
<!-- 电视、投影仪:不需要触摸屏;能出现在 Android TV 的桌面上。
usesCleartextTraffic:开发时要打开局域网里的 http 地址(MainActivity.allowed 只放行自己网站和局域网) -->
<uses-feature android:name="android.software.leanback" android:required="false"/>
<uses-feature android:name="android.hardware.touchscreen" android:required="false"/>
<application android:label="BiliPicks" android:icon="@mipmap/ic_launcher"
android:banner="@drawable/banner" android:hardwareAccelerated="true"
android:allowBackup="true" android:usesCleartextTraffic="true" android:theme="@android:style/Theme.Black.NoTitleBar.Fullscreen">
<activity android:name=".MainActivity" android:screenOrientation="landscape" android:launchMode="singleTask"
android:configChanges="orientation|screenSize|screenLayout|keyboardHidden|keyboard|navigation|uiMode">
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.LAUNCHER"/>
<category android:name="android.intent.category.LEANBACK_LAUNCHER"/>
</intent-filter>
</activity>
<receiver android:name=".InstallReceiver" android:exported="false"/>
<receiver android:name=".UpdatedReceiver" android:exported="false">
<intent-filter><action android:name="android.intent.action.MY_PACKAGE_REPLACED"/></intent-filter>
</receiver>
</application>
</manifest>