Skip to main content
Participant
Jun 25, 2013 3:48 AM UTC
Question

please help me.. galaxy tab 10.1 front camera crash

I use galaxy tab 10.1

     - model : SHW-M380S

     - android version : 4.0.4

    

air sdk ver 3.2 ~~ 3.8 testing

I use camera function only.(Camera.getcamera)

But my air App having crash.. my air app die...

After that my galaxy tap 10.1 can’t use camera function.

In this case I have to re-boot for use camera function.

<my code>

if(Camera.isSupported) {

     var v:Video = new Video(320, 240);

     uic.addChild(v);

     var cam:Camera = Camera.getCamera("1");

     cam.setMode(320, 240, 25);    

     cam.setQuality(0,90);     

     v.attachCamera(cam); 

}

<mx:UIComponent id="uic" width="640" height="480"/>

-app.xml add

<uses-permission android:name="android.permission.CAMERA"/>

<renderMode>direct</renderMode> or <renderMode></renderMode>

                    

when i use cam.setMode(1280,720, 25); 

my air app not crash..

This topic is closed to new replies. Start a new post to keep the conversation going.

3 replies

videoPLZAuthor
Participant
Jun 27, 2013 4:38 AM UTC

Thank Comment

I've tried the test in air sdk 3.1 and air sdk 3.8


This problem occurs after a few minutes.
This problem is caused by random time when i use front camera
after 5-20 minutes

This problem does not occur in galaxy note1, 2 and galaxy note 10.1

Translate
Adobe Employee
Jun 27, 2013 6:43 AM UTC

Looks like it is specific to the mentioned device with OS version. I tried with Samsung tab(v4.1.2), ASUS Transformer(v4.0.3) , wait for 30 min and it's working fine. Could you please open a new bug report over at bugbase.adobe.com. Once the bug has been added would you mind posting back with the URL so that others affected can add their votes and comments?

Regards,

Nimit

Translate
Adobe Employee
Jun 26, 2013 4:42 AM UTC

Hi,

The problem you reported is not reproducible. Could you please give a try on any other device. Also, please share the AIR SDK version you are using?

Regards,

Nimit

Translate