Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Actually, there was not an update. The camera started working due to a time related software bug - the same bug will cause it to stop working again in 24 days (unless a fix is pushed OTA).Apparently there was a silent update to the camera app... or camera hardware drivers... over the last couple of days. Perhaps the torch flash mode has been enabled as a consequence? Bears looking into.
Has anyone got it to fire the flash in your own application under any circumstance? (e.g. actually taking a picture)
edit:
Just after I posted this... I actually got a flash.
you got a flash by simulating taking a picture with code?
YesMaking progress.
I actually have something WORKING! Still have some issues to work through, but I have a consistent LED Light. Well almost consistent![]()
Using FLASH_MODE_ON.
Get this app working and I will be one of the first to buy or donate![]()
So the big issue so far is getting a nice constant light instead of it cutting off every couple of seconds and then coming back. I think I can improve it with some careful timing instead of the hack I am using right now. Unfortunately there doesn't seem to be direct access to just turn on the LEDs.
are you focusing? or taking pictures? Also, are you doing an app or a widget? I was doing a widget. I was wondering if that's why mine wasn't working. I was planning on moving the code to an Activity to test it.
Yeah, i thought there might be some success looping through a routine that continually fires commands to auto focus with the flash mode set to Auto. When the sensor detects darkness, it fires the flash so the auto focus can function properly (and so the shooter can see whats being focused on). Obviously, this will be inferior to an application that can use the built in functionality to just keep the flash on natively.
Ideally, we'd like to have access to the LED's without having to fire up the camera and burn through the battery.
True... though in that case you could just... well... use the camera and not an external app.
True... though in that case you could just... well... use the camera and not an external app.