×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    Jun 2006
    Posts
    11

    Problem with bluetooth

    Hello experts:

    I made a program in j2me for my nokia 6630 using the bluetooth API for communicate two phones and send phrases like a chat, but when i try the program in the phone i have a problem that in the emulator i did not have.

    This problem is "Symbian OS error:-44" and i check that it is in the next line:
    if (!localDevice.setDiscoverable(DiscoveryAgent.GIAC)) {
    throw new IOException("Can't set discoverable mode...");}

    I dont know how solve it and neither the reason why it happens.

    Thank you very much your help. Bye.

  2. #2
    Super Contributor
    Join Date
    Dec 2005
    Location
    Europe/Poland/Warsaw
    Posts
    1,697

    Re: Problem with bluetooth

    hi Pablo,
    that Symbian OS error means that "KErrHardwareNotAvailable -44",
    http://www.newlc.com/Symbian-OS-Error-Codes.html
    is your bluetooth tool enabled on device when that error occurs?
    is any other applicatin taht uses bluetooth working fine on that device?

    regards,
    Peter

  3. #3
    Registered User
    Join Date
    Jun 2006
    Posts
    11

    Re: Problem with bluetooth

    Thank you very much for your help peterblazejewicz.

    1. I have the bluetooth tool switched on when i try the program.
    2. I never try any other bluetooth program in my phone.

    Bye

  4. #4
    Registered User
    Join Date
    Mar 2003
    Posts
    4,105
    In your phone model, it is not possible to change Bluetooth visibility from within a MIDlet.

  5. #5
    Registered User
    Join Date
    Jun 2006
    Posts
    11

    Re: Problem with bluetooth

    Thank you Traud, but one more question:

    If I could not change the visibility with the MIDlet, can I eliminate the next line of my program, having the same funcionality??

    if (!localDevice.setDiscoverable(DiscoveryAgent.GIAC)) {
    throw new IOException("Can't set discoverable mode...");}


    Bye.

Similar Threads

  1. Nokia SDK Bluetooth service re-discovery problem, Help Me!:(
    By tomsonxu in forum Bluetooth Technology
    Replies: 0
    Last Post: 2005-11-08, 07:51
  2. using Nokia 6670 as a modem via Bluetooth problem
    By wikoleung in forum PC Suite API and PC Connectivity SDK
    Replies: 0
    Last Post: 2005-03-05, 16:05
  3. bluetooth problem.. please help..
    By flicker82 in forum Symbian Networking & Messaging (Closed)
    Replies: 0
    Last Post: 2004-09-23, 10:00
  4. Bluetooth Handsfree problem - Nokia 6600
    By hjabre in forum Bluetooth Technology
    Replies: 4
    Last Post: 2004-01-02, 12:22
  5. Problem with Nokia FLA-15 Bluetooth card
    By jpekkola in forum Bluetooth Technology
    Replies: 2
    Last Post: 2002-08-12, 16:42

Posting Permissions

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