×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Jan 2007
    Posts
    2

    defineReferencePixel doesn't work as it should in some phones

    Hello,

    I'm developing a game in MIDP 2.0, and I'm having some problems.

    One of them is that, when I use defineReferencePixel(x,y) to mirror an Image, it works just fine in most phones, but in Nokia 7373, it mirrors the image, but paints it in a different position (if the x argument is 25, it's painted to the left, if it's -25, painted to the right, the same ocurring in the y axis - if it's y = 25 it's painted some pixels up from the position it should, and if it's negative, it's painted down).
    If I don't use this method, the image mirrors itself to the left and then returns to the position it should be painted, but at least it's painted in the right position on all phones I tested after this transformation.

    Does anybody know a way to correct this somehow?

    Another issue I'm facing is that when I resize images, most phones keep the transparency, and it's working ok. But when I test it in N61, it loses the transparency. Is there some way to make it work in this phone?

    Thank you for your attention

  2. #2
    Super Contributor
    Join Date
    Apr 2003
    Location
    USA, CA
    Posts
    7,191

    Re: defineReferencePixel doesn't work as it should in some phones

    I think this is related, however I cannot remember why we did not include 7373 (I guess those devices were not yet exactly out...time to update this...)
    http://wiki.forum.nokia.com/index.ph...dition_devices

    Hartti

  3. #3
    Registered User
    Join Date
    Jan 2007
    Posts
    2

    Re: defineReferencePixel doesn't work as it should in some phones

    Thank you very much for the help.
    I tested the application in S40 3rd edition FP2 emulator, and it gets the same error, can I consider that all S40 3rd edition have this problem?

    Do you happen to know about the second problem I had?
    I researched more in this forum and in the wiki, but couldn't find anything that could help me with keeping transparency in S60 3rd edition when I resize it.

  4. #4
    Nokia Developer Expert
    Join Date
    Aug 2007
    Posts
    1,595

    Re: defineReferencePixel doesn't work as it should in some phones

    Hello asato,

    updated (Series 40 3rd edition FP2 added):

    http://wiki.forum.nokia.com/index.ph...dition_devices

    The problem has been fixed starting from Series 40 5th Edition onwards (tested and verified).

    Regards,
    r2j7

Similar Threads

  1. Nokia, do you listen to your customers? Problems of your new phones
    By djprofessork in forum General Development Questions
    Replies: 3
    Last Post: 2007-09-24, 15:15
  2. Any vendor specific AT commands for Nokia phones
    By jasthy in forum PC Suite API and PC Connectivity SDK
    Replies: 1
    Last Post: 2006-12-07, 10:08
  3. DRM Forward locking does not work on 3gpp videos
    By llaine in forum Digital Rights Management & Content Downloading
    Replies: 2
    Last Post: 2005-02-23, 08:31
  4. Can this work on Nokia java phones?
    By yiruo in forum Mobile Java General
    Replies: 1
    Last Post: 2003-10-18, 11:30
  5. Replies: 0
    Last Post: 2002-12-04, 15:46

Posting Permissions

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