Copy link to clipboard
Copied
I am develope android app with cmeraUi
When I take picture by CameraUi
cameraUi.addEventListener(MediaEvent.COMPLETE,onMediaComplete);
cameraUi.addEventListener(Event.CANCEL,cameraCancel);
cameraUi.launch(MediaType.IMAGE);
private function onMediaComplete(e:MediaEvent):void{
imgPath=e.data.file.url;
imgLoader.loadFilePromise(e.data);
imgLoader.contentLoaderInfo.addEventListener(Event.COMPLETE,imgLoadComplete);
}
img path is temp folder
so when I load this picture
this picture url is changed from tempfolder to dcim folder
so I can not load this file;
how to load this picture
I use air 26 and testing android version 6.0
Copy link to clipboard
Copied
You've posted in the Lounge.
Which Adobe product are you using? A moderator can move this to the appropriate product support forum for you.
[Moderator moved from The Lounge to Adobe Animate CC - General.]