title: How to connect to a remote phone using HFP-bluetooth programmatically in android
body: <p>Is there a way to pair and connect programmatically to a remote device in <em>Hands-Free-Profile</em> (HFP) mode?</p>
  
  <p>So far I am able to just connect to the remote device in the normal way through code. I require to connect to the remote device in the HFP profile mode.</p>