calles and handsfree
<p>is there any way to be notified when a person calls or I call or when I removed hand free from socket ? 
I want to make a music player and I need to stop it when a person calls or user removed hand free from socket , how to detect this situation .</p>
