The Android platform provides a sensor that lets you determine how close the face of a device is to an object (known as the proximity sensor). Proximity sensor is hardware based, we might often experience that our phone screen would turn off when we bring the phone to our ears when we are in a […]