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