How Android app can initiate Bluetooth HFP and A2DP connection to Bluetooth Headset?
In my understand, Anroid app supports only SPP connection not HFP and A2DP.

However, I want to initiate HFP and A2DP connection in Android app just like selecting Bluetooth device in Bluetooth Settings menu. I'm not sure it is possible to use a intent including BluetothDevice object, so the intent receiver can initiate HFP and A2DP connection.

If you have a idea, could you let me know that?  
How Android app can initiate Bluetooth HFP and A2DP connection to Bluetooth Headset?
===

In my understand, Anroid app supports only SPP connection not HFP and A2DP.

However, I want to initiate HFP and A2DP connection in Android app just like selecting Bluetooth device in Bluetooth Settings menu. I'm not sure it is possible to use a intent including BluetothDevice object, so the intent receiver can initiate HFP and A2DP connection.

If you have a idea, could you let me know that?  