花了两三天终于解决 Android 手机连接尼康相机后无法实时预览照片问题。
就两行行代码搞定
KLog.w("设置设备属性指令 = "+NikonApplicationMode);
this.queue.add(new SetDevicePropValueCommand(this, NikonApplicationMode, value, 2));PtpCamera.this.mtpDevice.readEvent(PtpCamera.cancellationSignal)
具体如何使用请+Q2676014118
参考文献
GitHub - michaelzoech/remoteyourcam-usb: Control your Canon or Nikon DSLR camera from your Android device through USB