初始提交:第三方合作伙伴 App 测试项目

- 支持 EPG Intent 传参启动(deviceUid + programCode 自动播放)
- 代销模式 init/checkBenefits/SDK初始化/获取播放地址/播放
- Android 4.2 (API 17) 兼容
- OkHttp 3.12.x + TLS 1.2
- ExoPlayer 2.19.1 视频播放
This commit is contained in:
zhaogd
2026-07-26 13:05:04 +08:00
commit 9fd12c5eae
38 changed files with 2618 additions and 0 deletions

View File

@@ -0,0 +1,39 @@
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="#000000">
<com.google.android.exoplayer2.ui.PlayerView
android:id="@+id/playerView"
android:layout_width="match_parent"
android:layout_height="match_parent"
app:resize_mode="fit" />
<ProgressBar
android:id="@+id/progressBar"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:visibility="gone" />
<TextView
android:id="@+id/tvError"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:textColor="#FF4444"
android:textSize="18sp"
android:visibility="gone" />
<Button
android:id="@+id/btnBack"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="top|start"
android:layout_margin="16dp"
android:text="返回"
android:alpha="0.7" />
</FrameLayout>