Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Not able to connect phone via Bluetooth

 
Mohnish Khiani
Ranch Hand
Posts: 65
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 158
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You need an event listener, specifically DeviceListener, as seen in : JSR-82 Sample : Device Discovery
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic