dji-sdk / Mobile-SDK-Android

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

setCustomExpandFileName saying "Not supported" #1191

Open danilofariadutra opened 1 year ago

danilofariadutra commented 1 year ago

I work with a Zenmuse P1 and I'm trying to use the "setCustomExpandFileName" method to custom file's name, but I've got this Toast message on djiError. How can I proceed with this problem?

DJI-William commented 1 year ago

Are you calling camera.setCustomExpandFileName? Have you updated your P1 to the latest firmware? Are you using Mobile SDK v4.16.2?

danilofariadutra commented 1 year ago

Thanks for reply. I will check this information, but If I remember well, I'm using 4.16, but about the payload P1 I'm not sure about the firmware. I'm gonna check about this tomorrow, when I'm at work. Since now, thanks.

danilofariadutra commented 1 year ago

The P1 firmware is v04.00.02.05 and SDK version is 4.16. Any problem with 4.16?

danilofariadutra commented 1 year ago

How can We proceed in this case?

DJI-William commented 1 year ago

Your firmware is correct, I used MSDK v4.16.2 to set the setCustomExpandFileName and it is correctly set.

danilofariadutra commented 1 year ago

I've solved! The P1 firmware wasn't is the latest version. So, I update M300, P1 and RC firmware all at once. One more thing, enterPlayback method no more is necessary, it seems that is automatic in firmware, right?

DJI-William commented 1 year ago

For P1, you need to use setMode(MEDIA_DOWNLOAD) to enter the media playback mode.

danilofariadutra commented 11 months ago

After I updated Zenmuse P1 to 04.00.02.05 v, Playback is not supported anymore. Is there any way to use "setCustomExpandFileName" method with this version?