Hi,

I wrote my own android app to handle bluetooth events.It registers with 
ACTION_CALL_BUTTON, but onReceive() is not getting invoked for 
broadcastReceiver()

Here is a small code:

        IntentFilter filter = new IntentFilter(Intent.ACTION_CALL_BUTTON);
        filter.addAction(BluetoothAdapter.ACTION_STATE_CHANGED);
        MediaButtonIntentReceiver r = new MediaButtonIntentReceiver();
        registerReceiver(r, filter); 

The complete app is pasted at 
http://stackoverflow.com/questions/11326203/i-wrote-an-android-application-to-receive-bluetooth-headset-event-but-onreceive#comment14910141_11326203

Thanks in advance!

Thanks,
Rajesh

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to