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

CamerUi file path problem

New Here ,
Sep 17, 2017 Sep 17, 2017

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

Views

124

Translate

Translate

Report

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

Copy link to clipboard

Copied

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
Alt-Web Design & Publishing ~ Web : Print : Graphics : Media

Votes

Translate

Translate

Report

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