dji-sdk / Mobile-SDK-Android

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

startShootPhoto Error accessing the SD Card #97

Closed ViktSun closed 6 years ago

ViktSun commented 7 years ago

ShootSinglePhotoView when click Shoot Single Photo button show error "Error accessing the SD Card"

DJI Android SDK version 4.0

Android system version 5.1.1, 6.0.1

DJISampleApplication.getProductInstance() .getCamera() .startShootPhoto(new CommonCallbacks.CompletionCallback() { @Override public void onResult(DJIError djiError) { if (null == djiError) { ToastUtils.setResultToToast(getContext().getString(R.string.success)); } else { ToastUtils.setResultToToast(djiError.getDescription()); } post(new Runnable() { @Override public void run() { setEnabled(true); } }); } });

oliverou commented 7 years ago

Hi @SunYong , could you double check if the SD Card in your DJI Product has no issue? Try to test shoot photo feature in DJI Go app, or even format the SD card using DJI Go and try again.

ViktSun commented 7 years ago

OK,I format the SD card and have a try。3Q~

talobin commented 6 years ago

Will go ahead and close this ticket as current version (4.3.2) should have a fix for this already. Please feel free to reopen if the problem still exists. Thanks!