×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Regular Contributor
    Join Date
    Aug 2008
    Location
    Zanjan
    Posts
    183

    sending a word via bluetooth

    hi all
    when i do discover devices i want send a word to one of the discovered bluetooth.
    this is part that send word:

    BluetoothName = listDev.getString(listDev.getSelectedIndex());
    String service_UUID = "00000000000010008000006057028A06";
    String url = "btl2cap://localhost:" + service_UUID + ";name=" + BluetoothName;
    L2CAPConnectionNotifier notifier = (L2CAPConnectionNotifier)Connector.open(url);
    con = notifier.acceptAndOpen();
    if (con.ready())
    send("TurnOn ");

    but nothing happens.
    www.hegzaco.com

  2. #2
    Regular Contributor
    Join Date
    Aug 2008
    Location
    Zanjan
    Posts
    183

    sending a word via bluetooth

    in fact i just want have a bluetooth server that send data without client.
    that is any bluetooth that is ON be can recevie data.
    www.hegzaco.com

  3. #3
    Registered User
    Join Date
    May 2009
    Posts
    8

    Re: sending a word via bluetooth

    For some time I do not do anything with bluetooth.

    Do not know if something new has appeared, but I needed to use the OBEX to send any file,

    to send a text message, I used a txt file

  4. #4
    Registered User
    Join Date
    Mar 2003
    Posts
    4,105

    Re: sending a word via bluetooth

    Masoud, you want to create a client without creating the server.

Similar Threads

  1. Problem in sending DRM file over Bluetooth..?
    By sumit_rusia in forum Digital Rights Management & Content Downloading
    Replies: 2
    Last Post: 2007-08-21, 07:08
  2. Sending List Objects using Bluetooth
    By seanmcgowan in forum Mobile Java General
    Replies: 6
    Last Post: 2007-03-19, 14:37
  3. Replies: 0
    Last Post: 2005-12-10, 00:42
  4. Sending List Objects using Bluetooth
    By seanmcgowan in forum Mobile Java Tools & SDKs
    Replies: 0
    Last Post: 2004-11-01, 15:12
  5. Sending large data via Bluetooth sockets
    By yellow27 in forum Bluetooth Technology
    Replies: 0
    Last Post: 2003-12-18, 03:59

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×