You Are Here:

Community: Developer Discussion Boards

#1 Old Screensize on 6630 with Canvas API MIDP 2.0 - 2005-08-10, 14:06

Join Date: Aug 2005
Posts: 1
olli123
Offline
Registered User
Hi,

i have problems with the getHeight() und getWidth() methods on the 6630 mobile.

I´m doing something like this:

In the constructor:
setFullScreenMode(true);

In the paint-method:
w=getWidth();
h=getHeight();
g.fillRect(0, h-40, w, h);


Problem:
On Nokia 6630 the mobile fills a bigger rect than expected. It hasn´t the height of 40Pixels, it is bigger. It looks, like the mobile is painting on the full screen - but using the height-values of a non-full-screen (you can understand me? - i´m not a native speaker :( ).

In this forum I found a topic, discussing a familar problem (http://discussion.forum.nokia.com/fo...threadid=58838)
- but they´re using GameCanvas - and with Canvas i can´t reproduce they´re solution.

Hopely this is all the information you need - if something is missing please post, i will supply as fast as possible.

Thanks for your help - olli

EDIT:
Something forgotten:
In WTK Emulator, Nokia Developer Suite, Sony-Ericsson Mobiles, Siemens Mobiles it works fine.
But the 6630 is our reference mobile - we need a solution for this special device.
Has anyone experiences with 6630 special problems?
Last edited by olli123 : 2005-08-10 at 14:19.
Reply With Quote

#2 Old Unhappy Re: Screensize on 6630 with Canvas API MIDP 2.0 - 2005-09-02, 13:56

Join Date: Apr 2005
Posts: 24
jibbox
Offline
Registered User
Hello Olli123,

Unfortunately I'm experiencing the same problem. Simulators work correctly, but N6630 does not... getHeight() keeps returning the same value than before setFullScreenMode(true)

=> I have not tried this with other S40 and S60 devices. Do you know whether the same happens with those?

- Jibbox
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

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 
RDF Facets: qdcZidentifierQSxhttpE3aE2fE2fdiscussionE2eforumE2enokiaE2ecomhttpE3aE2fE2fdiscussionE2eforumE2enokiaE2ecomE2fforumE2fshowthreadE2ephpE3ftE3d18645X qdcZtypeQUqfnZE45E78cludedFromGeneralE4cistingsQ qdcZtypeQUqfntypeZCommunityContentQ qdcZtypeQUqfntypeZE44iscussionQ qdcZtypeQUqfntypeZE44iscussionContentQ qdcZtypeQUqfntypeZE52esourceQ qdcZtypeQUqfntypeZWebpageQ qdcZtypeQUqmarsZManagedE52esourceQ qdcZtypeQUqwebZInformationE52esourceQ qdcZtypeQUqwebZPageQ qdcZtypeQUqwebZE52esourceQ qdcZtypeQUqrdfsZE52esourceQ qfnZtopicQUqfnTopicZentertainmentQ qfnZtopicQUqfnTopicZj2meQ qfnZtopicQUqfnTopicZjavaQ qfnZtopicQUqfnTopicZmediaQ qfnZtypeQUqfntypeZCommunityContentQ qfnZtypeQUqfntypeZE44iscussionQ qfnZtypeQUqfntypeZE44iscussionContentQ qfnZtypeQUqfntypeZE52esourceQ qfnZtypeQUqfntypeZWebpageQ qmarsZlanguageQUxhttpE3aE2fE2fswE2enokiaE2ecomE2flanguageE2d1E2fenX qrdfZtypeQUqfnZE45E78cludedFromGeneralE4cistingsQ qrdfZtypeQUqfntypeZCommunityContentQ qrdfZtypeQUqfntypeZE44iscussionQ qrdfZtypeQUqfntypeZE44iscussionContentQ qrdfZtypeQUqfntypeZE52esourceQ qrdfZtypeQUqfntypeZWebpageQ qrdfZtypeQUqmarsZManagedE52esourceQ qrdfZtypeQUqwebZInformationE52esourceQ qrdfZtypeQUqwebZPageQ qrdfZtypeQUqwebZE52esourceQ qrdfZtypeQUqrdfsZE52esourceQ