Hey everybody,
I'm using Nexus S Android 2.3 stock version. Whenever I'm trying to
set the flash to torch mode:
if (camera == null) {
mCamera = camera = Camera.open();
}
final Parameters params = camera.getParameters();
params.setFlashMode(MODE_TORCH);
camera.setParameters(params);
nothing happens, the flash is not working at all. This piece of code
works perfectly on nexus one.
I've found this -http://stackoverflow.com/questions/5017455/how-to-use-
camera-flash-led-as-torch-on-a-samsung-galaxy-tab and also this one -
http://forum.xda-developers.com/showthread.php?t=923786 none of them
seems to help.
Why ?
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en