androidactionscript-3airflash-cs6

Open custom address by CameraRoll().browseForImage();


I need to open gallery file in custom address in my Android app.

For example my photo camera saves in address "DCIM/SHEKAR/"

I use Adobe Flash CS6 and Adobe AIR.

My code:

       camera_btn.addEventListener(MouseEvent.CLICK, mouseHandler);
function mouseHandler(event:MouseEvent):void
{
       var mediaFile:CameraRoll = new CameraRoll();
       var imagePromise:MediaPromise;
       CameraRoll(mediaFile).browseForImage();

}

But open default address.

Thank you for your help.


Solution

  • Currently it's no way to change default gallery address. Method browseForImage always shows default gallery.