I have a specific problem only with HTC EVO 3D, for a custom Android app, which uses the default back side camera.
I use android.hardware.Camera and try to set its ColorEffect to different values, using Camera.Parameters, and the default camera (on the back side). I’m checking the list of supported effects, using getSupportedColorEffects() – I can see the list with supported strings (“none”, “mono”, “aqua”, etc) Then I use setColorEffect(effect), which is accepted. I can also set the parameters to the created camera without problems. However, if I set the ColorEffect to any of the supported strings except “none” ( like “mono”, “aqua” , etc), it throws a java.lang.RuntimeException: setParameters failed when I try to execute camera.startPreview() . If I set the ColorEffect to “none” or leave it as default (which is “none” again), everything is fine. This is happening only on EVO 3D. I can change any other Camera.Parameters without problems (like focus, zoom, white balance, etc).The only one which seems to be broken is setColorEffect() Should I do something specifically for EVO 3D to set the ColorEffect, or this is a bug and there will be a fix? Here is a short snippet with “mono” : (the verification for supported effects is not posted) : public void surfaceCreated(SurfaceHolder arg0) { try { camera = Camera.open(); camera.setPreviewDisplay(holder); Parameters params = camera.getParameters(); String effect = Parameters.EFFECT_MONO params.setColorEffect(effect); camera.setParameters(params); camera.startPreview(); } catch (Exception e){ // .. } } -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en