Join Now
Quality Rating:
  • Currently 0.0 / 5
(0.0 / 5 - 0 votes cast)
Expertise Level:
  • Currently 0.0 / 5
(0.0 / 5 - 0 votes cast)

This page was last modified 11:49, 23 August 2007.

KIJ000490 - Infrequent paint() call when Bluetooth is used in S60 devices

From Forum Nokia Wiki


Infrequent paint() call when Bluetooth is used in S60 devices
KIJ000490
Overview
The Java Bluetooth API behaves differently in S60 and Series 40.
I have a Java ME application that paints an animation while another thread reads from a Bluetooth connection (about 30 bytes every 20 ms).This application works perfectly on Series 40 phones. On S60 phones, however, the animation becomes nearly frozen while the connection is being read. It appears that Java threads are running frequently enough (reading Bluetooth / calling repaint) but that the system (GUI Event thread) is infrequently calling paint().
Reported against
S60 3rd Edition
Date identified
November 30, 2006
Symptoms
-
Detailed description
In S60 Java is not calling paint while Bluetooth data is received whereas in Series 40 Java is calling paint while Bluetooth data is received.
However, the Nokia N93 is the first S60 device where the MIDlet behaves correctly, that is, simultaneous painting is being done when Bluetooth data is received.
How to reproduce
If you have a client-server application, you can test whether the MIDlet behaves correctly.
  • Install the application on two Nokia S60 devices
  • Make sure Bluetooth is turned on.
  • Start the application on server.
  • Start the application on client.
  • During the initialization of the Bluetooth connection, the application/screen freezes. When the connection has been established, the paint() method is called but not frequently enough.
Solution
No solution exists.
Related Discussions
Thread Thread Starter Forum Replies Last Post
Address of remote device santoshudipi Bluetooth Technology 1 2004-09-21 05:54
7610: Recovering from "System Error" ayesh12 Bluetooth Technology 2 2004-11-02 04:39
Nokia 6310 and IPAQ 3870 and some other issue's Nokia_Archive Bluetooth Technology 1 2002-05-28 13:05
Speed of Series 30 servigo Mobile Java Media (Graphics & Sounds) 4 2003-10-01 12:57
Suitable Bluetooth Card to use with Series 60 SDK(2.0) for Symbian OS nuwan14d Bluetooth Technology 5 2004-01-28 07:19
 
Powered by MediaWiki
     
     RDF Facets:
     
     
     qfnZtopicQUqfnTopicZbluetoothQ
     qfnZtypeQUqfnTypeZCommunityContentQ
     qfnZtypeQUqfnTypeZKnowledgeBaseContentQ
     qfnZtypeQUqfnTypeZKnownIssueQ
     qfnZtypeQUqfnTypeZWebpageQ
     qfnZtypeQUqfnTypeZWikiContentQ
     qmarsZlanguageQUxhttpE3aE2fE2fswE2enokiaE2ecomE2flanguageE2d1E2fenX