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
Click to show internal directories.
Click to hide internal directories.