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

Media file name not clear on mini4 Pro

Open godfreyhammer opened this issue 6 months ago • 1 comments

Hi,

I'm currently working on changing the file name using KeyCustomExpandFileNameSettings. According to the documentation, "This operation only takes effect once. If it is required that all media files in one flight have the same extension name, you need to set the same extension name before each photo shooting."

It behaves as expected on the Mavic 3 Enterprise — the custom file name is applied once and can be reset. However, on the Mini 4 Pro, it seems to behave differently: once the custom file name is set, it doesn't clear as expected. When I attempt to reset the file name to empty, the SDK does not trigger any callback or reset the name.

Could you please advise if this is expected behavior for the Mini 4 Pro, or if there is an alternative method for clearing the custom file name on this model?

Thanks! Godfrey

godfreyhammer avatar Jun 17 '25 14:06 godfreyhammer

Agent comment from YIGUI LIU in Zendesk ticket #146464:

Dear Developer,

The key "KeyCustomExpandFileNameSettings" should not be supported by Mini series models, including Mini 3 and Mini 3 Pro. I'm sorry that I currently don't have a Mini 4 Pro model, so I can't verify its feasibility through the sample app.

At present, MSDK does not have a separate method to remove file extensions. However, you can try to check if there are related settings in the DJI Fly APP. Or reset the camera settings. In MSDK, there is an interface CameraKey.KeyResetCameraSetting for resetting camera parameters.

Best Regards, DJI Innovations SDK Technical Support Team

°°°

dji-dev avatar Jun 18 '25 06:06 dji-dev