This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
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 OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA 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%] )
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Could not make multiple connection with bluetooth.