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:41, 13 November 2007.

KIJ000405 - Behavior of reference pixel methods on Series 40 3rd Edition devices

From Forum Nokia Wiki


Incorrect behavior of reference pixel methods on Series 40 3rd Edition devices
KIJ000405
Overview
defineReferencePixel() and setRefPixelPosition() do not position the Sprite correctly.
Reported against
Series 40 3rd Edition, Series 40 3rd Edition, FP1, and Series 40 3rd Edition, FP2
Nokia 6111, Nokia 6125, Nokia 6131, Nokia 6136, Nokia 6151, Nokia 6233, Nokia 6234, Nokia 6265, Nokia 6270, Nokia 6280, Nokia 7370, Nokia 5200, Nokia 6085, Nokia 6086
Nokia Series 40 3rd Edition, Feature Pack 1 emulator
Date identified
September 21, 2006, updated November 13, 2007
Symptoms
-
Detailed description
The defineReferencePixel() and setRefPixelPosition() methods are used to position and transform the Sprite relative to a reference pixel. Initially the reference pixel is located in the upper left corner of the frame. The implementation on the above-mentioned devices does not operate correctly, which causes the Sprite to be placed in an incorrect location on the screen.
How to reproduce
-
Solution
Detect the phone model with SystemProperty("microedition.platform") and if the phone model matches one of the models above, use your own Sprite positioning function (by adding the refPixel coordinates to the Sprite coordinates).
Related Discussions
Thread Thread Starter Forum Replies Last Post
call log deletion!!! vivek_mics General Symbian C++ 9 2007-02-20 13:19
j2me and video recording cloud139 Mobile Java General 10 2007-08-16 19:55
Installing MIDlet over Bluetooth oz1cz Mobile Java General 4 2006-11-06 17:06
Pls help: Series 40 RMS sarith Mobile Java General 3 2005-11-21 13:18
3rd Edition application development liuxg Symbian 83 2008-07-04 02:42
 
Powered by MediaWiki
     
     RDF Facets:
     
     
     qfnZtypeQUqfnTypeZCommunityContentQ
     qfnZtypeQUqfnTypeZKnowledgeBaseContentQ
     qfnZtypeQUqfnTypeZKnownIssueQ
     qfnZtypeQUqfnTypeZWebpageQ
     qfnZtypeQUqfnTypeZWikiContentQ
     qmarsZlanguageQUxhttpE3aE2fE2fswE2enokiaE2ecomE2flanguageE2d1E2fenX