Mobile-SDK-Android-V5 icon indicating copy to clipboard operation
Mobile-SDK-Android-V5 copied to clipboard

Capture button not working

Open 1232Ga opened this issue 1 year ago • 8 comments

In Mavic 3 Enterprise capture button is not working when we record video like Dji Pilot 2, when user take video he has also capture image but in our SDk this functionality is not working in my app?

1232Ga avatar Feb 15 '24 10:02 1232Ga

Agent comment from yating.liao in Zendesk ticket #100842:

I have reproduced this issue and have already reported it to the team for confirmation. As for shooting during the recording process, you can try calling the shooting interface.

°°°

dji-dev avatar Feb 18 '24 08:02 dji-dev

how should we use shooting interface.

1232Ga avatar Feb 19 '24 04:02 1232Ga

we are using Widget of MSDK 5 then how to implement Shooting interface

1232Ga avatar Feb 19 '24 06:02 1232Ga

Agent comment from yating.liao in Zendesk ticket #100842:

The functionality you are looking for is not available in the widget provided by MSDK V5. You will need to add it yourself. The interface for shooting is CameraKey.KeyStartShootPhoto.

Thank you.

°°°

dji-dev avatar Feb 19 '24 10:02 dji-dev

ok Thanks

1232Ga avatar Feb 20 '24 04:02 1232Ga

Agent comment from yating.liao in Zendesk ticket #100842:

I hope this was helpful to you.

°°°

dji-dev avatar Feb 20 '24 08:02 dji-dev

sorry for that but i have quetion where we use this function in code, normal capture mode is working but when taking video capture is working then where we this method CameraKey.KeyStartShootPhoto.? can you explain it or send me a bit code so i will use this on video taken time?

1232Ga avatar Feb 20 '24 11:02 1232Ga

Agent comment from yating.liao in Zendesk ticket #100842:

The camera of your Mavic 3 Enterprise supports taking photos while recording, so even in recording mode, you can still use CameraKey.KeyStartShootPhoto to take photos once the camera has started recording. This allows you to achieve the same effect as pressing a button on the remote controller.

I suggest setting up a button that is only visible in recording mode to trigger the photo capture action. Additionally, CameraKey.KeyIsRecording can be used to determine if the camera is currently recording.

°°°

dji-dev avatar Feb 21 '24 11:02 dji-dev