I wrote my first Android app, and everything works very well, except that ... in the subroutine below, ACTION_DISCOVERY_FINISHED never seems to be called (either sent or received, or otherwise). No matter what, the block of code is that the "else if" does not work.
I tested only on my Motorola Atrix , so I wonder if this is a problem. Since I'm testing bluetooth functionality, I donβt think I can use the Android emulator for effective testing.
Thoughts?
private BluetoothAdapter mBtAdapter; mBtAdapter.startDiscovery(); private final BroadcastReceiver mReceiver = new BroadcastReceiver() { @Override public void onReceive(Context context, Intent intent) { String action = intent.getAction();
source share