This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman on-line!
See this thread for details.
The moose likes Java Micro Edition and the fly likes Problem with Bluetooth Application Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Building Microservices this week in the Design forum!
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "Problem with Bluetooth Application" Watch "Problem with Bluetooth Application" New topic

Problem with Bluetooth Application

Abiodun Adisa
Ranch Hand

Joined: Jan 17, 2002
Posts: 495
I have a bluetooth application running on two Bluetooth enabled Phones (Siemens S65). The Server path is working properly but the client side encounters an exception when executing this code

String connString=agent.selectService(new UUID("86b4d249fb8844d6a756ec265dd1f6a3",false),ServiceRecord.NOAUTHENTICATE_NOENCRYPT,false);

StreamConnection conn=(StreamConnection);

The exception message is :Unable to Locate Services...Does anyone have a suggestion
Mark Spritzler

Joined: Feb 05, 2001
Posts: 17271

Yes, for the Siemens S65 series, you can find Bluetooth devices, but you cannot find particular services. I have the S66 and was going to use them in our talk at JavaOne for Bluetooth Games, and wanted to show our game on the devices, but we could never get it to work, made us have to use the emulator in our talk instead, which was a big bummer.

It is possible that a newer version of their OS might fix this problem, but I highly doubt it, usually they just move on to the next device and never look back. Part of the Wireless world.

This is a big problem with devices is that they don't exactly implement the specs too well and don't care.


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
I agree. Here's the link:
subject: Problem with Bluetooth Application
It's not a secret anymore!