title: Turn off screen programmatically when face is close the screen on Android
body: <p>My app is a dialer and when user holding the phone near his head I need to turn screen off and prevent clicking on the controls - like native Android dialer behavior. What API level I need and how can I do this in right way?</p>