IntentFilter iF=new
IntentFilter(BluetoothAdapter.ACTION_DISCOVERY_STARTED);

BroadcastReceiver br=new BroadcastReceiver()
{
       @Override
        public void onReceive(Context context, Intent intent)
        {
                // TODO Auto-generated method stub
                TextView tv=(TextView)findViewById(R.id.disp);
                tv.setText("Discovery started");

        }
};
registerReceiver(br, iF);

BluetoothAdapter bta.startDiscovery();
---------------------------------------------------------------------------------------------------------------------------
this is a snippet of bluetooth discovery process....the onReceive() of
br is not fired!this means startDiscovery() is not broadcasting the
intent!!!

 please help me with this problem.

-- 
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