You Are Here:

Community: Developer Discussion Boards

#1 Old defineReferencePixel doesn't work as it should in some phones - 2007-10-24, 15:42

Join Date: Jan 2007
Posts: 2
asato
Offline
Registered User
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
Reply With Quote

#2 Old Re: defineReferencePixel doesn't work as it should in some phones - 2007-10-24, 23:47

Join Date: Apr 2003
Posts: 6,408
Location: USA, CA
hartti's Avatar
hartti
Offline
Nokia Expert
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
Reply With Quote

#3 Old Re: defineReferencePixel doesn't work as it should in some phones - 2007-10-25, 18:44

Join Date: Jan 2007
Posts: 2
asato
Offline
Registered User
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.
Reply With Quote

#4 Old Re: defineReferencePixel doesn't work as it should in some phones - 2007-11-15, 13:55

Join Date: Aug 2007
Posts: 774
r2j7's Avatar
r2j7
Offline
Forum Nokia Expert
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
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules

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

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Forum Jump
Similar Threads
Thread Thread Starter Forum Replies Last Post
Nokia, do you listen to your customers? Problems of your new phones djprofessork General Discussion 3 2007-09-24 16:15
Any vendor specific AT commands for Nokia phones jasthy PC Suite API and PC Connectivity SDK 1 2006-12-07 11:08
DRM Forward locking does not work on 3gpp videos llaine Digital Rights Management & Content Downloading 2 2005-02-23 09:31
Can this work on Nokia java phones? yiruo Mobile Java General 1 2003-10-18 12:30
What is the real problem to receive data calls with Nokia modem phones? jackal_jr General Messaging 0 2002-12-04 16:46

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia