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 Problem with Bluetooth Application 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 "Problem with Bluetooth Application" Watch "Problem with Bluetooth Application" New topic
Author

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)Connector.open(connString);

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

Joined: Feb 05, 2001
Posts: 17249
    
    6

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.

Mark


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problem with Bluetooth Application
 
Similar Threads
[Bluetooth] Client and server at the same time?
bluetooth connection is established for 1st request for second request it is not
connect 2 devices via bluetooth
Byte[] transfer problems : (
unable to reopen the StreamConnection, for first request working fine but for second it is not