Skip to main content
ciaoamigos1973
Inspiring
Feb 17, 2015 8:35 PM UTC
Question

camera crash -> my application

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 is closed to new replies. Start a new post to keep the conversation going.

1 reply

Inspiring
Feb 17, 2015 8:56 PM UTC

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.

Translate