0

I want the user to press the button on the screen and then the screen goes completely off, and if possible, the screen can turn on again within defined time.

I don't want to lock the phone but just like you having the phone call, and if your face placed close enough to your phone, the screen will go totally dark.

Please help,Thanks

flowchart

Ricky Zheng
  • 1,279
  • 3
  • 16
  • 27
  • possible duplicate of [Turn the screen in to totally dark when press the button on the screen](http://stackoverflow.com/questions/23432552/turn-the-screen-in-to-totally-dark-when-press-the-button-on-the-screen) – Simon May 03 '14 at 16:26
  • yes, I still can't get the right answer. – Ricky Zheng May 03 '14 at 16:41

0 Answers0