**

here i am trying to connect multiple devices one after another at one go.
now if it connects to a device it will send the message else it will try to
connect the next paired device. here the main problem is that its not
connecting any device rather getting skipped one after other , before they
get connected to each other.

---------------------------------------------------------------------------------

for( BluetoothDevice device : PairedDevice)
{
    mChatService.connect(device);
    try
    {
        SendMessage(message); //message is a string object
    }
    catch(Exception e)
    {
        e.printStackTrace();
    }
}

------------------------------------------------------------------------------

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

Reply via email to