File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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: 17276

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 - iOS Apps
How to Ask Questions the Smart Way FAQ
I agree. Here's the link:
subject: Problem with Bluetooth Application
jQuery in Action, 3rd edition