0 Replies Latest reply on Nov 7, 2011 8:32 PM by Warren Yu

    Why the camera resolution is different between debug and release??

    Warren Yu

      I have  a hight resolution camera,when I use it in flash builder 4.the resolution was 2592*1944.But when I release the Air application and install in the same machine,the resolution changed to 1920*1920.

      Source code:

        camera = Camera.getCamera();

                                      camera.setQuality(0,100);

                                    

                                      camera.setMode(2592,1944,12);

                                    

       

       

                                      if (camera) {

       

                                                videoDisplay.attachCamera(camera);

       

                                      } else {

                                               Alert.show("You don't seem to have a camera.");

                                      }

                                      Alert.show(camera.width+"*"+camera.height);