Torch is an open source utility which uses your device's LED camera flash as an LED flashlight. For devices without a camera flash, Torch will turn the screen white.
If Torch previously worked on your Nexus S, but stopped worked after upgrading your device to Android 4.0 Ice Cream Sandwich, you should use this version of Torch (uninstall the previous version first to avoid two versions with the same name).
Long press hardware search button to start Torch (optional)
Torch is tested on the Nexus S with Android 4.0.3 and works on the Galaxy Nexus and many other devices.
Get the source code at http://code.google.com/p/torch/
0.2.3 - Torch no longer forces portrait orientation.
0.2.2 - Supports Android 4.0 Ice Cream Sandwich