USB 摄像头(不是 RPi 摄像头)无法在 Android Things Preview 2 上使用
USB camera (not RPi camera) isn't working on Android Things Preview 2
有使用 RPi 相机的示例,但其中 none 很有用。
我在清单文件中添加了权限,但输出仍然显示:No cameras found
。为什么?
02-22 19:24:42.936 2134-2134/com.example.androidthings.doorbell
D/DoorbellActivity: Doorbell Activity created.
02-22 19:24:43.131 2134-2134/com.example.androidthings.doorbell
I/CameraManagerGlobal: Connecting to camera service
02-22 19:24:43.135 2134-2134/com.example.androidthings.doorbell
D/DoorbellCamera: No cameras found
02-22 19:24:43.135 2134-2134/com.example.androidthings.doorbell
W/DoorbellCamera: Cannot capture image. Camera not initialized.
如果您查看开发者工具包页面上的 Hardware Support Matrix,请注意仅通过 CSI-2 接口而非 USB 提供摄像头支持。当前预览中通过 USB 支持的唯一媒体接口是音频 record/playback。
有使用 RPi 相机的示例,但其中 none 很有用。
我在清单文件中添加了权限,但输出仍然显示:No cameras found
。为什么?
02-22 19:24:42.936 2134-2134/com.example.androidthings.doorbell
D/DoorbellActivity: Doorbell Activity created.
02-22 19:24:43.131 2134-2134/com.example.androidthings.doorbell
I/CameraManagerGlobal: Connecting to camera service
02-22 19:24:43.135 2134-2134/com.example.androidthings.doorbell
D/DoorbellCamera: No cameras found
02-22 19:24:43.135 2134-2134/com.example.androidthings.doorbell
W/DoorbellCamera: Cannot capture image. Camera not initialized.
如果您查看开发者工具包页面上的 Hardware Support Matrix,请注意仅通过 CSI-2 接口而非 USB 提供摄像头支持。当前预览中通过 USB 支持的唯一媒体接口是音频 record/playback。