Flashbuilder 4.5 Android Camera Restarting My Application
Solution 1:
This problem was driving me crazy as well, but it can be solved by enabling session persistence on the main ViewNavigator or TabbedViewNavigator page.
See Adobe Flex 4.6 * Enable persistence in a mobile application for more information.
Solution 2:
I have been experiencing this problem for several months, both through FlashBuilder 4.5 (with Flex 4.5 and 4.5.1 sdk's) and through pure Flash (using Flex 4.6 sdk). I was hoping it was some sort of bug only in FB, but apparently not.
I notice that the problem is intermittent, but I can't predict when it will fail. Sometimes it fails on taking a new picture (Camera) and sometimes it fails on retrieving images from the CameraRoll. Any situation like this is obviously unacceptable, but I'm trying to figure out the situation in which it occurs.
Usually when I restart the phone, the problem will go away for some time. That makes me think about some memory thing, but I haven't confirmed anything.
I made a very simple test case in which it fails (just takes a picture), when I see it failing in my main app. I submitted it to Adobe as a bug (#3099508), but I don't know if they can reproduce it reliably.
Have you done any memory profiling to see if there is something up when the problem occurs? My only "hail Mary" option I can think of is to use a Native Extension for the camera, but I haven't tried that yet.
Post a Comment for "Flashbuilder 4.5 Android Camera Restarting My Application"