×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Nov 2005
    Posts
    2

    Exclamation Bluetooth RemoteDevice.getFriendlyName() doesn't work

    Hi,
    Im using the Nokia Connectivity Framework (NCF) and the Nokia S40_DP20_SDK_6230i emulator.
    remoteDevice.getBluetoothAddress() works fine but somehow remoteDevice.getFriendlyName(true) returns null.
    here is a snippet of my code:

    public void deviceDiscovered(RemoteDevice remoteDevice, DeviceClass deviceClass) {
    DEBUG("Start:deviceDiscovered");
    remoteBTAddress=remoteDevice.getBluetoothAddress();
    try {
    //*************** HERE IT IS : ****************************
    yorFriendlyName=remoteDevice.getFriendlyName(true);
    //************************************************************
    } catch (IOException ex) {
    DEBUG("catch: remoteDevice.getFriendlyName(true)");
    ex.printStackTrace();
    }

    I think that the problem may be related to the NCF, how can I test it? what can I do? ....
    Pleas Pleas HELP.

  2. #2
    Nokia Developer Champion
    Join Date
    Mar 2003
    Posts
    4,105
    getFriendlyName(false) works – why do you need 'true'? true is a bit problematic because a new connection is created and current Series 40 should not have more than one active at all.

Similar Threads

  1. BlueTooth doesn't work on emulator
    By bigmammonth in forum Symbian Tools & SDKs
    Replies: 2
    Last Post: 2005-06-04, 05:26
  2. Replies: 2
    Last Post: 2004-07-16, 07:01
  3. 7650 / BlueUSB Bluetooth USB dongle / PC-suite not working!
    By mahaikol in forum Bluetooth Technology
    Replies: 7
    Last Post: 2002-12-28, 06:47
  4. Replies: 2
    Last Post: 2002-09-02, 07:23
  5. Nokia 6210 Bluetooth Connectivity Pack
    By peter-h-hansen in forum Bluetooth Technology
    Replies: 1
    Last Post: 2002-08-19, 12:52

Posting Permissions

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