Monday, December 10, 2012

Re: [android-developers]android bluetooth multi-connect one after another

i have posted this because its  not working like that.


On Mon, Dec 10, 2012 at 12:47 PM, gjs <garyjamessilva@gmail.com> wrote:
Hi,

Then concentrate on getting 1 or 2 devices working with -

mChatService.connect(device);

Regards

On Sunday, December 9, 2012 1:19:08 AM UTC+11, akash roy wrote:
please have a look on it..thankyou.
 


On Sat, Dec 8, 2012 at 9:26 AM, akash roy <akashr...@gmail.com> wrote:

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();      }  }  
------------------------------------------------------------------------------



--
AKASH ROY
3RD YEAR
COMPUTER SCIENCE AND ENGG.
N.I.T. DURGAPUR


--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en



--
AKASH ROY
3RD YEAR
COMPUTER SCIENCE AND ENGG.
N.I.T. DURGAPUR


--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment