Hello, I have a Samsung Galaxy I7500 and I'm fiddling around a bit with some code. I would really like to use the camera flash light, but I can't really figure out how to do that.
I've been through what feels like thousands of lines of code. Application code, the Android base, device drivers, native implementations, you name it. I couldn't find an answer anywhere. The closest I got was a set of methods called enableCameraFlash and setFlashlightEnabled in an interface called IHardwareService, implemented in HardwareService. These are accompanied by a permission called FLASHLIGHT so I was really hopeful. However when I tracked that code down to the device driver it's called hardware_legacy. Also I couldn't find the two methods used anywhere, so this lead me to believe these are old/deprecated features. I have also been digging through the Camera application, the Camera service, etc, to find any code related to it. When I press my Camera button and try to focus the flash light goes on, so I was looking where this happens in the code. My conclusion is that this doesn't seem to happen in any publicly available code, or I oversaw something. Is there any information how to control the flash light? :) Best regards, Thomas van Kampen --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

