USB 摄像头+远程遥控+中英的适配+topic的集成和状态的使用到相应页面
This commit is contained in:
BIN
android/app/src/main/res/drawable-hdpi/launch_image.png
Normal file
BIN
android/app/src/main/res/drawable-hdpi/launch_image.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 90 KiB |
BIN
android/app/src/main/res/drawable-mdpi/launch_image.png
Normal file
BIN
android/app/src/main/res/drawable-mdpi/launch_image.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 42 KiB |
@@ -3,10 +3,10 @@
|
||||
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:drawable="?android:colorBackground" />
|
||||
|
||||
<!-- You can insert your own image assets here -->
|
||||
<!-- <item>
|
||||
<!-- 居中显示 App Logo,消除冷启动白屏观感 -->
|
||||
<item>
|
||||
<bitmap
|
||||
android:gravity="center"
|
||||
android:src="@mipmap/launch_image" />
|
||||
</item> -->
|
||||
android:src="@drawable/launch_image" />
|
||||
</item>
|
||||
</layer-list>
|
||||
|
||||
BIN
android/app/src/main/res/drawable-xhdpi/launch_image.png
Normal file
BIN
android/app/src/main/res/drawable-xhdpi/launch_image.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 154 KiB |
BIN
android/app/src/main/res/drawable-xxhdpi/launch_image.png
Normal file
BIN
android/app/src/main/res/drawable-xxhdpi/launch_image.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 318 KiB |
BIN
android/app/src/main/res/drawable-xxxhdpi/launch_image.png
Normal file
BIN
android/app/src/main/res/drawable-xxxhdpi/launch_image.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 508 KiB |
@@ -3,10 +3,10 @@
|
||||
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:drawable="@android:color/white" />
|
||||
|
||||
<!-- You can insert your own image assets here -->
|
||||
<!-- <item>
|
||||
<!-- 居中显示 App Logo,消除冷启动白屏观感 -->
|
||||
<item>
|
||||
<bitmap
|
||||
android:gravity="center"
|
||||
android:src="@mipmap/launch_image" />
|
||||
</item> -->
|
||||
android:src="@drawable/launch_image" />
|
||||
</item>
|
||||
</layer-list>
|
||||
|
||||
17
android/app/src/main/res/xml/device_filter.xml
Normal file
17
android/app/src/main/res/xml/device_filter.xml
Normal file
@@ -0,0 +1,17 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
USB 设备过滤器:告诉 Android "我们 App 能处理这些 USB 设备"。
|
||||
插入匹配的设备时,系统会直接弹出"允许 XX App 访问"权限对话框,
|
||||
而不再弹出"用哪个 APP 打开"的Chooser对话框。
|
||||
|
||||
class=14 (0x0E): USB Video Class (UVC),即采集卡/USB摄像头
|
||||
subclass=1: Video Control 接口
|
||||
subclass=2: Video Streaming 接口
|
||||
-->
|
||||
<resources>
|
||||
<!-- UVC 视频采集设备(采集卡、USB摄像头) -->
|
||||
<usb-device class="14" subclass="1" protocol="0" />
|
||||
<usb-device class="14" subclass="2" protocol="0" />
|
||||
<!-- 部分采集卡以 Misc / Command 类上报,顺带匹配 -->
|
||||
<usb-device class="239" subclass="2" protocol="1" />
|
||||
</resources>
|
||||
Reference in New Issue
Block a user