eclipsed4utoo
Android Enthusiast
woot....ok..got the flash to come on
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.
Nice! Yeah, i've got some catching up to do obviously, but i'm sure it won't be that hard. Are you basically doing the whole make it autofocus thing?
yeah....I am at the same point as Chet. I can get it to keep autofocusing but there is a pause between each one....so it's kinda like a strobe light.
What mechanism are you using to get continuous auto-focusing? I have tried two.
Also, if I don't show the Preview on the screen, the flash doesn't come on. Don't know how to get around that.

with a while loop. inside of it, I do the autoFocus method.
This is done in a background thread.
I can get it down to about 1 second or a little less, but there's still that "off" period that makes it a strobe light.
I am getting better results from putting an autoFocus call in the onAutoFocus callback.
autoFocus is only valid after startPreview() has been called. However, I have found that you can call stopPreview() immediately after startPreview(). You never see the preview and the flash still works.![]()
I had it there, but the "off" period was still pretty long. I was able to get the "off" period to be shorter with the background thread.
hum... so how often are you calling autofocus in your background thread? infinite loop or a timer? I was running a timer before and was getting more off period. I believe the timer's run method is executed in its own thread.
Got it working straight-up! no auto focusing tricks!
more to come...
Got it working straight-up! no auto focusing tricks!
more to come...

Is it simply a combination of the camera settings?
Ok, so who would like to try it out? I am willing to email my test .apk if someone wants to test it. You will have to enable installing apps from "Unknown Sources".