Commit Graph

6 Commits

Author SHA1 Message Date
let5sne.win10
c68ed15ed5 refactor: 改进 CameraHelper 资源清理的错误处理
- 添加 stopRepeating() 和 abortCaptures() 调用
- 为每个资源关闭操作添加独立的 try-catch
- 确保即使部分资源关闭失败,其他资源仍会被清理

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-12 22:39:54 +08:00
let5sne.win10
e9741b4dd2 fix: 修复 MainActivity 多行字符串格式和 UI 线程安全问题
- 使用 Kotlin 原始字符串语法替代错误的拼接格式
- 修复 stopCamera() 中 UI 更新不在主线程的问题
- 添加 cameraHelper 重复启动检查

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-12 22:39:42 +08:00
let5sne.win10
0699931fd4 fix: 修复 MjpegServer.kt 文件丢失
- 确保所有源代码文件完整
2026-02-12 22:37:54 +08:00
let5sne.win10
b9b1c2d876 feat: Android 应用保持屏幕常亮
- 添加 WAKE_LOCK 权限
- 设置 keepScreenOn=true
2026-02-12 22:28:46 +08:00
let5sne.win10
38b68c9987 feat: 添加 Android USB 摄像头 APP 源代码
- 源代码文件: MainActivity, CameraHelper, MjpegServer
- 布局文件: activity_main.xml
- 优化 .gitignore 只忽略构建产物
2026-02-12 22:26:40 +08:00
let5sne.win10
767271d499 feat: 添加 USB 摄像头连接功能
- 新增 Android USB 摄像头 APP (MJPEG 服务器)
- 电脑端支持 ADB 端口转发连接
- 修复 .gitignore 忽略 Android 文件

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-12 22:23:43 +08:00