Archives / 2013 / September
  • How to detect if an headset is plugged

    Some time ago, a friend who is working on a big WP8 project, asked me for a method to detect when the headphone jack is plugged or unplugged from the device, given that apparently there were no  API to do this.

    I also do not know the answer and not even my internet searches give any success.

    My first idea was to use the FM radio API to measure signal strength, as the headset is used as an antenna for the radio synth, I thought that the presence of plug in device would increase the …


Follow Me on Social