File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
Register / Login
JavaRanch » Java Forums » Mobile » Java Micro Edition
Reply 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%] )
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Could not make multiple connection with bluetooth.
 
Similar Threads
Bluetooth connection
Bluetooth Connection b/w mobile and PC
Connecting a mobile phone to PC via Bluetooth
[Bluetooth] Client and server at the same time?
Connecting two mobiles through socket connection