Trouble coneccting Pc with Android 2.1 mobile for the Bluetooth Chat example

Last Updated:

  1. lugopaco

    lugopaco Active Member

    Hi. I'm new on programming Android devices. I'm making an school proyect which envolves an Android (Mini-Xperia pro with Android 2.1) and bluetooth communication with a device. I'm trying to go step by step to undesrstand all of the programming stuff and to learn all I can.
    I've got an Bluetooth adapter for the Pc, I'm working with windows XP so I only connect it and it's already installed.
    Well, I'm working over the Bluetooth Chat sample that comes with the SDK and I've already changed the UUID to:
    private static final UUID MY_UUID = UUID.fromString("00001101-0000-1000-8000-00805f9b34fb");
    With my mobile I entered to settings and made my device paired to my Pc (it says paired but with out conection).
    But I don't know what I'm doing wrong cause I open the Bluetooth chat application on my mobile, try to connect to my pc and it says "unable to conect device".
    After a lot of tries, it connects to transmit from the pc to the phone:
    And the connection is lost (this takes less than 2 seconds!!)
    Can anyone help me please telling me what am I doing wrong or what's the problem??

  2. cr5315

    cr5315 Well-Known Member Developer

    I personally can't help you, but if you post over in Application Development odds are there will be others who can.
    lugopaco likes this.
  3. lugopaco

    lugopaco Active Member

    Thanks for the advise

Share This Page