Skip to content

souch/strobelight

 
 

Repository files navigation

#Strobe light

A simple stroboscopic light application which turns the camera flash light on and off based on configurable delays. Both the time the light is on and the time the light is off can be configured independently to fully customise the type of flashing you require.

For best results, try a very low but not zero value for the "on" time, and a medium to low value for the "off" time.

The timing is not guaranteed to be exact, at the very high speeds the Android system might not be able to control the flash light accurately.

This application has been developed on a HTC Desire, and has only been tested on a HTC Desire. I make no guarantees that this will work on other Android devices, though it probably will if you have a back-facing camera with a flashlight.

The Camera permission is required to allow the application access to the Camera Flashlight. At no point are any pictures taken.

If you find any bugs, please do let me know here: https://github.com/stwalkerster/strobelight/issues

If you want to have a look over the source code, it's freely available at https://github.com/stwalkerster/strobelight

Strobe light is available on F-Droid .

Licence (MIT Licence)

Original work Copyright (c) 2011 Simon Walker

Modified work Copyright 2015 Mathieu Souchaud

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.