Open Inbi-Yeo opened 2 years ago
Agent comment from DJI SDK in Zendesk ticket #56703:
尊敬的开发者,感谢您联系DJI 大疆创新
由于github不是我们主要的咨询渠道,您的问题可能跟进不及时。我们建议您通过填写表单( https://djisdksupport.zendesk.com/hc/zh-cn/requests/new )向我们反馈问题。或者您也可以在论坛发帖,与其它开发者交流。论坛链接:https://djisdksupport.zendesk.com/hc/zh-cn/community/topics
Dear developer, thank you for contacting DJI.
Since github is not our main consultation channel, your questions may not be followed up in time. We recommend that you fill in the form (https://djisdksupport.zendesk.com/hc/en-us/requests/new) to report problems to us. Or you can post in the forum to communicate with other developers. Forum link: https://djisdksupport.zendesk.com/hc/zh-cn/community/topics
°°°
The code does not contain how you download the picture to your phone. Did you use fetchFileData? What is the download rate by using official app?
camera.setMediaFileCallback(new MediaFile.Callback() {
@Override
camera.setMediaFileCallback(new MediaFile.Callback() {
@Override
public void onNewFile(@NonNull MediaFile mediaFile) {
// do not download mediaFile immediately when you receive it, please enter download mode
mediaFile.fetchFileData(file, "imageData", new DownloadListener<String>() {
camera.setMode(SettingsDefinitions.CameraMode.MEDIA_DOWNLOAD)
mediaFile.fetchFileData(file, "imageData", new DownloadListener<String>()
camera.setMode(SettingsDefinitions.CameraMode.SHOOT_PHOTO)
to continue take photo.
I really appreciate for your help..
I have some problems for developing an app. Here is my problem...
I took a picture and tried to send it to my phone. However, when I measured the time, it took more than 2 minutes to send 1 pic. Is somebody know why this happens? Is there any problem with my code? Here is my code...
`public File file = Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_PICTURES);