On Thu, May 03, 2012 at 09:12:55AM -0700, Lisa wrote: > As I can turn on the camera LED as a flashlight and > that works on all devices?
> p.setFlashMode (Parameters.FLASH_MODE_ON); > but is only on for a moment, Correct. FLASH_MODE_ON uses the flash when you take a picture with the camera. What did you expect? > but I read in another post that used FLASH_MODE_TORCH if you want turn > ON led for long time If the device's camera supports FLASH_MODE_TORCH, sure. > But when I put FLASH_MODE_TORCH does not work in the > Samsung. (~ _ ~)? Did you check to see if that FLASH_MODE_TORCH is supported on the Samsung? You're lucky it didn't force close on you. Some (most?) Android devices lock the camera up, requiring a reboot, if you don't shut the camera down properly. Later, --jim -- THE SCORE: ME: 2 CANCER: 0 73 DE N5IAL (/4) | Peter da Silva: No, try "rm -rf /" [email protected] | Dave Aronson: As your life flashes before < Running FreeBSD 7.0 > | your eyes, in the unit of time known as an ICBM / Hurricane: | ohnosecond.... (alt.sysadmin.recovery) 30.44406N 86.59909W | Android Apps Listing at http://www.jstrack.org/barcodes.html -- 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

