×

Discussion Board

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

    one warning is coming

    hai forks,

    In my appln im using RFCOMM connectionNotifier class for sending and receiving messages and profiles frm other BT devices.I ve completed the coding part.But while running the appln ,im getting this warning.after that appln strucks and no emulator is displayed.

    "Warning: To avoid potential deadlock, operations that may block, such as
    networking, should be performed in a different thread than the
    commandAction() handler."

    What mistake i might have done.Plz help me.

    Thanks in advance.
    yafy

  2. #2
    Super Contributor
    Join Date
    Mar 2005
    Location
    Paris
    Posts
    814

    Re: one warning is coming

    it happens
    to avoid this, you should follow the advice, and put all the things related to bt in a separated thread (i.e., don't call a blocking method in the midlet class, directly or indirectly)
    however, it might work anyway on a real device, even if the emulator get blocked

Similar Threads

  1. Replies: 2
    Last Post: 2004-11-17, 10:20
  2. warning note
    By yencruz in forum Symbian
    Replies: 0
    Last Post: 2004-05-05, 08:48
  3. can not successfully link any sample using .NET
    By lobotomat in forum Symbian Tools & SDKs
    Replies: 2
    Last Post: 2002-08-20, 00:29
  4. Problem with Nokia D211 Linux Drivers
    By fiveam in forum Multimodecards
    Replies: 1
    Last Post: 1970-01-01, 02:00

Posting Permissions

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