locked
proximity sensor handling RRS feed

  • General discussion

  • Hello,
    I am creating an application with which I can record voice. While I take the phone to my ear with the touch of my skin some button action are executed. So, I need to turn of the light of the mobile while I take the phone to my ear. How can I do this with c# language.
    Wednesday, May 16, 2012 4:58 AM

All replies

  • Developers do not have access to proximity sensor.
    Wednesday, May 16, 2012 7:19 AM
  • Why are you placing the device against your ear?  Just hold the device in front of you and speak at it.  You can't hear anything from the earpiece anyway.
    Wednesday, May 16, 2012 8:48 AM