This is a fairly common and neat function of modern smartphones.
I use my Samsung Galaxy SII with light to snatch a quick examination of trannies. It is very, very bright. Works a treat using face/flashlight option of app (if that isn't enough, I also have flashing red and blue lights and a police siren on the Galaxy for when I'm really late to the lab!).