This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Java Micro Edition and the fly likes Not able to connect phone via Bluetooth 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 "Not able to connect phone via Bluetooth" Watch "Not able to connect phone via Bluetooth" New topic
Author

Not able to connect phone via Bluetooth

Mohnish Khiani
Ranch Hand

Joined: May 17, 2010
Posts: 65
This is my server code


This is the code in MIDLet which discovers devices:

I have deployed the midlet in my phone.My problem is that the server displays
"Waiting for incoming connection "
And when the mobile searches for the device it is not able to locate any....what do i do to establish the connection?
Walter Gabrielsen Iii
Ranch Hand

Joined: Apr 09, 2011
Posts: 158
You need an event listener, specifically DeviceListener, as seen in : JSR-82 Sample : Device Discovery
 
 
subject: Not able to connect phone via Bluetooth
 
Similar Threads
Bluetooth in java
Nokia 6600 to PC communication issue. Please help.
java.io.IOException at out.write()
client connecting to server on cell phone app
Bluetooth in java