wood burning stoves 2.0*
The moose likes Java Micro Edition and the fly likes Could not make multiple connection with bluetooth. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "Could not make multiple connection with bluetooth." Watch "Could not make multiple connection with bluetooth." New topic
Author

Could not make multiple connection with bluetooth.

Siddhesh Deodhar
Ranch Hand

Joined: Mar 05, 2009
Posts: 117
Hi all,

I was trying to create a scenario like this

A PC running as a server with bluetooth dongle attached.
Mobile A connects to this PC and two text fields and a button is showed on Mobile A.
Where in user can input 2 numbers and press a button. After pressing, result will be showed on Mobile A as a sum of two numbers.
Same thing, simultaneously,i tried with other mobile handset (Mobile B), (when Mobile A was in connection to the PC).

I have used Bluecove stack to implement this scenario. Code works perfectly fine with one Mobile device.

I have used threads as per best of my knowledge of multi threading. When i start my application on Mobile B..it says server not found (IO Exception).

I cant copy paste my code here because it is huge.

If anyone of you have tried out any thing like this please let me know.


Good, Better, Best, Don't take rest until, Good becomes Better, and Better becomes Best.
Sidd : (SCJP 6 [90%] )
 
Consider Paul's rocket mass heater.
 
subject: Could not make multiple connection with bluetooth.
 
Similar Threads
Bluetooth Connection b/w mobile and PC
Bluetooth connection
Connecting two mobiles through socket connection
[Bluetooth] Client and server at the same time?
Connecting a mobile phone to PC via Bluetooth