7

JPGEncoder Freezing App

view full story
linux-howto

http://stackoverflow.com – I'm creating a iOS and Android application in Flash Builder that uses the JPGEncoder function to convert the taken image from the device to a bytearray but in iOS my app freezes and in Android the screen goes black for a minute or so and then continues. Below is the code I am using. private var uploadData:ByteArray; protected var camera:CameraUI; protected var loader:Loader; public var file:File; protected function takePhoto():void { if (CameraUI.isSupported){ camera = new CameraUI(); camera.addEventListener(MediaEv (HowTos)