[android-developers] How to implement a Broadcast Receiver

2011-07-08 Thread Steven Bruce
Hi I am trying to add a broadcast receiver to my program. In my manifest file I have set up the receiver correctly (I think) in my manifest file like this: receiver android:name=.BluetoothReceiver android:enabled=true intent-filter action

Re: [android-developers] How to implement a Broadcast Receiver

2011-07-08 Thread Mark Murphy
Your action string is wrong. It should be: android.bluetooth.adapter.action.DISCOVERY_STARTED See: http://developer.android.com/reference/android/bluetooth/BluetoothAdapter.html#ACTION_DISCOVERY_STARTED On Fri, Jul 8, 2011 at 6:28 AM, Steven Bruce stevebruc...@gmail.com wrote: Hi I am