×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Oct 2006
    Posts
    6

    Bluetooth Starving GUI on S60?

    Reading from a Bluetooth connection appears to starve the GUI event thread on S60.

    We are developing a J2ME app that paints an animation while another thread reads from a Bluetooth connection (about 30 bytes every 20 ms).

    Our app works perfectly on S40 phones and Motorolas.

    On S60 phones however the animation becomes nearly frozen while we read from the connection.

    It appears that our Java threads are running frequent enough (reading Bluetooth / calling repaint) but that the system (GUI Event thread) is rarely calling paint().

    We have attached an example client/server application to demonstrate the problem.

    Any thoughts are much appreciated!


    Application Download:
    http://www.uploading.com/files/1PENJ...Issue.zip.html
    Last edited by pcalnan; 2006-10-11 at 18:29.

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

    Re: Bluetooth Starving GUI on S60?


  3. #3
    Regular Contributor
    Join Date
    Aug 2005
    Posts
    192

    Re: Bluetooth Starving GUI on S60?

    Hi pcalnan,
    Have you ever found a solution to this problem?
    I have encountered the same thing, but only on client connections. I.E. If you connect a S60 phone via Connector.open(url) you get a horrible lag in the game, but if you connect via server.acceptAndOpen() everything works fine.

Similar Threads

  1. S60 Bluetooth issue
    By markdevries in forum Mobile Java Networking & Messaging & Security
    Replies: 10
    Last Post: 2007-09-04, 11:17
  2. s60 prototype 4 emulator and real bluetooth devices
    By matrix241 in forum Mobile Java Networking & Messaging & Security
    Replies: 2
    Last Post: 2006-10-12, 21:31
  3. Canyon Bluetooth adapter not working with PC Suite?
    By sNNooPY in forum Bluetooth Technology
    Replies: 6
    Last Post: 2006-08-10, 08:43
  4. Bluetooth and S60 FP2
    By acelias in forum Symbian Tools & SDKs
    Replies: 3
    Last Post: 2005-10-03, 09:16
  5. PC Suite not detect 6600 with Bluetooth connection
    By spinacle in forum Bluetooth Technology
    Replies: 29
    Last Post: 2004-03-14, 23:24

Posting Permissions

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