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. (HowTos)