Skip to main content
ciaoamigos1973
Inspiring
February 17, 2015
Question

camera crash -> my application

  • February 17, 2015
  • 1 reply
  • 429 views

Problems on some devices:

- kn-mobile (dual Sim)

- ONE TOUCH 4033X

- MediaPad 10 LINK

Adobe air all version.

My code:

.....

personalCam=Camera.getCamera("1");

mycam.attachCamera(personalCam);

....

mycam.attachCamera(personalCam) ->causes the application to crash.

This happens if I use as renderMode direct. -> <renderMode>direct</renderMode>

My manifest.xml:

    <systemChrome>standard</systemChrome>

    <transparent>false</transparent>

    <visible>true</visible>

    <fullScreen>false</fullScreen>

    <aspectRatio>landscape</aspectRatio>

    <renderMode>direct</renderMode>

    <autoOrients>false</autoOrients>

    <softKeyboardBehavior>none</softKeyboardBehavior>

This topic has been closed for replies.

1 reply

Inspiring
February 17, 2015

I wonder if this is related to the issue I have with Camera.names on any air version ... see  AIR 16 SDK - Camera.names crashes on Windows 8/8.1 ... seems with some cameras it causes the app to totally crash, no error handling.