[android-developers] Re: Sending a String over Bluetooth

2010-08-03 Thread perumal316
I have already checked the javadocs of UUID.nameUUIDFromBytes(). Using the same UUID calculation in both Android and j2se as stated below: static String uuid = "1101100080805f9b34fb"; static byte[] uuid1 = uuid.getBytes(); private static UUID MY_UUID = UUID.nameUUIDFromBytes(uuid1); It

[android-developers] Re: Sending a String over Bluetooth

2010-08-02 Thread perumal316
Hi, In android I used UUID from java.util and in j2SE I used UUID from javax.bluetooth. But in android when I remove the '-' and run the application it will show "The application has stopped unexceptedly" but I have solved the issue by using: static String uuid = "1101100080805f9b34fb"

[android-developers] Re: Sending a String over Bluetooth

2010-07-27 Thread perumal316
Just to add on. In my PC I am using Bluecove. Is it the correct one? So far after searching for very long, I found no information about Android(client)-PC(server) Bluetooth connection. So far all online references are for J2ME and J2SE (client-server) Bluetooth connection. So can this be done? Re

[android-developers] Re: Sending a String over Bluetooth

2010-07-27 Thread perumal316
Hi, Is the UUID could be the problem? Because for Android the UUID have to have dashes. Like "1101--8000-" but in J2SE the UUID could not have dashes like "11018000". Is this causing the problem? Or is there any other method? Thanks In Advance, Perumal On Jul 27, 8:22 pm,