Locale/Tasker Proximity Plug-in

Detects when something is close to your android device, using the built-in proximity sensor. The proximity sensor is a piece of hardware that is present in most modern smartphone. It is usualy used to turn the screen off when you hold it close to your ear, when calling. It prevents touching a wrong button with your ear. You can use it with the Screen Off plug-in to automatically turn your screen off when putting your device in your pocket, or when you put it face down on your desktop. This helps saving battery life.

Google Play shows this app only to users who have a proximity sensor on their device. (If you are allowed to buy this app, then you have a proximity sensor.)

This is not a standalone app. It requires Locale or Tasker to work.

Get it here.