I've been stunned by how different Samsung's camera behaves compared to the other devices I've tested camera preview stuff with.
Mind you, this is in 2.1 so the SDK 8 Camera.getZoomRatios() and Camera.isZooomSupported() are not available. Looking at the Camera.getParameters().flatten() result shows that the common "zoom-supported" that I see in HTC, N1, and Mototrolla devices is not there. Instead there's something called "digi-zoom". I couldnt find any documentation or posts about its usage but a little experimenting revealed it takes numerals 1..10 as string and will zoom accordingly. I have no idea what the ratios would be. Also, there's some madness with the flash mode on the Galaxy S Epic that I have tested with. Calls to getSupportedFlashModes() return only auto,on,off. There is no torch supported. However, if you do params.setFlashMode(Camera.Parameters.FLASH_MODE_TORCH) it will turn the LED on! Sadly, subsequently setting it to FLASH_MODE_OFF or FLASH_MODE_AUTO does not turn the LED off! It's stuck on until Camera.release(), or maybe Camera.stopPreview(), I havent traced into it yet to see which actually turns it off. I suppose that's why Samsung doesnt return torch in the supported list. I'd prefer not to have to stop and restart the preview to turn it off for this model. Any suggestions or knowledge of apps that successfully turn torch on and then off on Galaxy? -- 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