This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates 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 OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP 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
 
jQuery in Action, 2nd edition
 
subject: Not able to connect phone via Bluetooth