flex-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Perry Hickman (JIRA)" <j...@apache.org>
Subject [jira] [Created] (FLEX-35331) Camera roll pictures in iOS take much longer to come in than pictures taken from the camera.
Date Tue, 27 Jun 2017 18:30:00 GMT
Perry Hickman created FLEX-35331:

             Summary: Camera roll pictures in iOS take much longer to come in than pictures
taken from the camera.
                 Key: FLEX-35331
                 URL: https://issues.apache.org/jira/browse/FLEX-35331
             Project: Apache Flex
          Issue Type: Bug
          Components: .Unspecified - Mobile
    Affects Versions: Apache Flex 4.15.0, Apache Flex 4.16.0
         Environment: Apple Apache Flex 4.15 and 4.16 with different Air 23 - 25.
            Reporter: Perry Hickman

Using very simple code.  Pictures coming from the camera roll could take up 3 x slow to come
in that pictures take from the camera.  Older versions of sdks did not have this issue.
Going from the loader.contentLoaderInfo to where the loaderComplete is hit is where the time
difference is.

protected function imageTakePicture_mouseDownHandler(event:MouseEvent):void
			Label.text="Camera Start"; 
				var camera:CameraUI = new CameraUI();  
				camera.addEventListener(MediaEvent.COMPLETE, mediaEventComplete);  
		protected function imageCameraRoll_mouseDownHandler(event:MouseEvent):void
			Label.text="Camera Roll Start";
			if (CameraRoll.supportsBrowseForImage) 
				var roll:CameraRoll = new CameraRoll(); 
		private function mediaEventComplete(event:MediaEvent):void
			var mediaPromise:MediaPromise = event.data;
				var loader:Loader = new Loader();
				loader.contentLoaderInfo.addEventListener(Event.COMPLETE, loaderCompleted);

private function loaderCompleted(event:Event):void
			Label.text="Loader Completed";

This message was sent by Atlassian JIRA

View raw message