Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

CamerUi file path problem

New Here ,
Sep 17, 2017 Sep 17, 2017

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

155
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Sep 17, 2017 Sep 17, 2017
LATEST

You've posted in the Lounge.

AdobeLounge-screenshot-newbies.png

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.]

Nancy O'Shea— Product User, Community Expert & Moderator
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines