Hi Nexus Developers,
I just bought Nexus Phone hoping its the best. BUT

I am trying to develop a BT application.
But in my initial stages to turn ON/OFF bluetooth itself i am facing issues.

I just wrote

Intent enableBTIntent = new Intent(BluetoothAdapter.ACTION_REQUEST_ENABLE);
enableBTIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_T ASK);

And in the receiver i am getting
BluetoothAdapter.STATE_ON two times and more.

This will effect my other part of application.

This is observed same for OFF case.
Can you explain why is it so.

Whom i can contact for this.
The Developer guide didnt say about this...