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 bluetooth  connection is established for 1st request for second request it is not Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "bluetooth  connection is established for 1st request for second request it is not " Watch "bluetooth  connection is established for 1st request for second request it is not " New topic
Author

bluetooth connection is established for 1st request for second request it is not

sudha.s.v. reddi
Greenhorn

Joined: Mar 24, 2009
Posts: 5
Hi


Actually i am new to bluetooth applications.
my application is similar to chatting application. (bluetooth to bluetooth communication)
for first request server is sending the response.
if started the thread for second request it is not working unless untill i restarted any one application(client or server).

actually problem exists in client code , streamconnection is not reopening again.
How can i reopen the streamconnection again?
in both client code and server code i have closed the stream.does it works?

Kindly help in this.

Thanks in advance

Sudha
 
Don't get me started about those stupid light bulbs.
 
subject: bluetooth connection is established for 1st request for second request it is not
 
Similar Threads
[Bluetooth] Client and server at the same time?
bluetooth simulation
Bluetooth Question
Problem with Bluetooth Application
unable to reopen the StreamConnection, for first request working fine but for second it is not