A flashlight app for smartphones