DJI-Mobile-SDK-Tutorials / Android-MediaManagerDemo

This demo is designed for you to learn how to use the MediaManager to interact with the file system on the SD card of the aircraft's camera. You can use it to preview photos, play videos, download or delete files and so on.
MIT License
25 stars 19 forks source link

Recent media files are not displayed #14

Open AlisaKhomenko opened 3 years ago

AlisaKhomenko commented 3 years ago

I have a problem with the fact that the last photos and videos are not displayed, only files that were taken a long time ago are displayed. And when I try to delete any file, I get an error: MediaManager has stopped Open app again

The DJI GO 4 app displays files well.

Drone model: Mavic 2 Zoom Firmware version: 01.00.0670 Android device name: AGM A8 Android device OS version: 7.1.2

dji-dev commented 3 years ago

Agent comment from DJI SDK in Zendesk ticket #44047:

I have a problem with the fact that the last photos and videos are not displayed, only files that were taken a long time ago are displayed. And when I try to delete any file, I get an error: MediaManager has stopped Open app again

The DJI GO 4 app displays files well.

Drone model: Mavic 2 Zoom Firmware version: 01.00.0670 Android device name: AGM A8 Android device OS version: 7.1.2

dji-dev commented 3 years ago

Agent comment from Luce Luo in Zendesk ticket #44047:

Dear Customer,

Thank you for contacting DJI. Please check if you have refreshed(refreshFileListOfStorageLocation) the file list fist, and ensure the FileListState is UP_TO_DATE. Here is an official media manager sample, please refer to it. https://developer.dji.com/mobile-sdk/documentation/android-tutorials/MediaManagerDemo.html

Thanks,

Luce Luo DJI Developer Support

AlisaKhomenko commented 3 years ago

Agent comment from Luce Luo in Zendesk ticket #44047:

Dear Customer,

Thank you for contacting DJI. Please check if you have refreshed(refreshFileListOfStorageLocation) the file list fist, and ensure the FileListState is UP_TO_DATE. Here is an official media manager sample, please refer to it. https://developer.dji.com/mobile-sdk/documentation/android-tutorials/MediaManagerDemo.html

Thanks,

Luce Luo DJI Developer Support

Thanks! New photos now appear, but the "download" and "delete" buttons don't work. Pressing these buttons returns the application to the live screen.