Skip to main content
Participant
April 1, 2013
Question

Android app using camera crash when Adobe AIR gets updated from 3.1.0.488 to 3.6.0.609

  • April 1, 2013
  • 1 reply
  • 816 views

Hi all.

I am new developer to AIR. I am working with Flash Builder 4.6. My app for Android uses camera with overlayed stuff and it works great when I deploy it to my Samsung Galaxy S3. FB installs the Adobe Air 3.1.0.488 into the phone and the app works. After that, when Adobe AIR update to 3.6.0.609 from the PlayStore, my app works wrong sometimes (show white image where camera video content should be viewed) or directly crash closing itself.

One idea is to update any SDK, but I don't know how even if that could solve the problem.

Any help is very appreciated.

Thanks in advance.

Rodolfo

PS: After trying to update AIR SDK from 3.1 to 3.6 (Flex 4.6) I found this:

a. When deploy my app to the phone, Adobe Air 3.6.0.609 is installed instead 3.1.0.488.

b. The problem persisted.

c. Then I tried changing RenderMode to "direct". (thanks to wilson_liu in http://forums.adobe.com/message/4862976#4862976#4862976)

d. My app seems to be working after a first test.

This topic has been closed for replies.

1 reply

chris.campbell
Legend
April 2, 2013

We do suggest the use of the rendermode "direct" on mobile devices:

Note: In order to leverage GPU acceleration of Flash content with AIR for mobile platforms, Adobe recommends that you use renderMode="direct" (that is, Stage3D) rather than renderMode="gpu". Adobe officially supports and recommends the following Stage3D based frameworks: Starling (2D) and Away3D (3D). For more details on Stage3D and Starling/Away3D, see http://gaming.adobe.com/getstarted/.

http://help.adobe.com/en_US/air/build/WSfffb011ac560372f-5d0f4f25128cc9cd0cb-7ffd.html

If you continue to have problems, could you please open a new bug report on this over at bugbase.adobe.com?  When adding the bug, please include sample code or an application so we can quickly test this out internally.  If you'd like to keep this private, feel free to email the attachment to me directly (ccampbel@adobe.com). 

Once added, please post back with the URL so that others affected can add their comments and votes.

rodolfoa3Author
Participant
April 2, 2013

Thanks Chris for your response. In fact, to use rendermode "direct" corrected my problem. I hope that this rendermode configuration has no colateral effects on other mobile hardwares. Thank you again.