M300+h20 mediaManager.refreshFileListOfStorageLocation获取内...
Completed
M300+h20
mediaManager.refreshFileListOfStorageLocation获取内置卡失败后(300没有内置卡),再去获取外置卡数据返回mediafile为0个文件,直接获取外置卡mediafile则正常,导致无法实现切换获取内/外置卡数据
-
我这边测试是没有出现这个问题的。你尝试用一下这个demo。不插入SD卡的状态运行demo,无卡状态下浏览文件列表,然后插入SD卡,再浏览文件列表,看看能不能成功。 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. (github.com)
Please sign in to leave a comment.
Comments
9 comments