camera_connect

command
v0.0.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 22, 2026 License: CC0-1.0 Imports: 9 Imported by: 0

Documentation

Overview

Test camera ConnectDevice with a local callback stub.

This example demonstrates the server-side binder integration: a local ICameraDeviceCallback stub is created, passed to ConnectDevice, and the binder driver handles it as a local binder object (BINDER_TYPE_BINDER).

Build:

GOOS=linux GOARCH=arm64 CGO_ENABLED=0 go build -o build/camera_connect ./examples/camera_connect/
adb push build/camera_connect /data/local/tmp/ && adb shell /data/local/tmp/camera_connect

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL