Insta360Develop / CameraSDK-Android

Android SDK to control Insta360 cameras
80 stars 9 forks source link

ExportUtils.exportImage not working on Android R (API 30) #23

Open uchamad opened 2 years ago

uchamad commented 2 years ago

Hi,

We have just discovered that following code does not export a panoramic JPEG file once a picture has been taken.

.. .. .. ExportImageParamsBuilder builder = new ExportImageParamsBuilder() .setExportMode(ExportUtils.ExportMode.PANORAMA) .setTargetPath(filename); ExportUtils.exportImage(workWrapper, builder, this); .. .. ..

This is only happening on Android 11 devices. Could you please guide us on how to fix this.

Best regards

Tianweihaihaihai commented 1 year ago

Android 11 file read/write limit is not the same with other version, need to compatible of asking file limit by app side but not sdk side