dji-sdk / Mobile-SDK-Android

DJI Mobile SDK for Android: http://developer.dji.com/mobile-sdk/
Other
994 stars 581 forks source link

Cannot take photos with shutter button on smart controller #516

Closed tobiasfriden closed 4 years ago

tobiasfriden commented 4 years ago

Hello,

I am building an app using mobile SDK for Smart controller with Mavic 2 Zoom. However, I have some large issues with getting the camera to trigger when pushing the shutter button on the controller.

I have tried two approaches: Calling the remoteController.setShutterButtonBindingEnabled(true) but this returns the error "not supported. Listening to the HardwareStateCallback of the remotecontroller, but this doesn't trigger when the shutter button is clicked.

This is a show stopper for my app so any help would be appreciated.

tdrone993 commented 4 years ago

Smart Controller?

tobiasfriden commented 4 years ago

Yes, the controller with integrated android device for Mavic 2:s https://www.dji.com/se/smart-controller

Michael-DJI commented 4 years ago

@flythecode what's the version of MSDK you were using?

tdrone993 commented 4 years ago

@tobiasfriden try to change the setting of the camera lock button in the setup menu where skytalk and everythin is, I think it caused me a problem. 4.11.2 Might have to turn on developer options to get the menu up. Think its the same thing to make the 5d work if I recall correctly.

tobiasfriden commented 4 years ago

@flythecode this resolved the issue, thanks!

ge17779 commented 11 months ago

Hello, I have the same problem here. Can you explain to me how you managed to solve it?

Sugar666666tang commented 11 months ago

这是来自QQ邮箱的自动回复邮件。   您好,您的邮件我已收到。