The proximity sensor is the part of your iPhone near the front-facing camera that allows the device to detect when something is in close proximity or not. For example, when you get into a phone call, the proximity sensor kicks in to turn the display off when you raise your iPhone to your ear.
iOS developer flux
finds that the proximity sensor can be used to your advantage. With a new jailbreak tweak he has created dubbed Always On Proximity