You Are Here:

Community: Developer Discussion Boards

#1 Old Question getHeight() gives same value in the Full Screen Mode - 2006-07-25, 03:33

Join Date: Jan 2006
Posts: 8
syson
Offline
Registered User
Hi
I am calling getHeight() after the setFullScreen(true) to get the new height of the canvas. The application gives new height correctly on the emulator, but when I run the same application on actual device (Nokia 6680), getHeight() gives the same height as before full screen mode. I wonder if some one could explain. I'm sure some body would have raised this question before, but I could not find it. So accept my appology. Thanking in anticipation

syson
Reply With Quote

#2 Old Re: getHeight() gives same value in the Full Screen Mode - 2006-07-25, 06:39

Join Date: Feb 2006
Posts: 689
soku123
Offline
Super Contributor
Hi,
What is the value you aure getting for getHeight().Is it 320.

Thanks
Soku
Reply With Quote

#3 Old Question Re: getHeight() gives same value in the Full Screen Mode - 2006-07-25, 11:00

Join Date: Jan 2006
Posts: 8
syson
Offline
Registered User
Hi
The value in normal screen size is 144 & should be 208 in full screen mode, but the application returns 144 even in the full screen mode. The problem is occuring only on the actual device not on the Series 60 emulator.

syson
Reply With Quote

#4 Old Re: getHeight() gives same value in the Full Screen Mode - 2006-07-25, 15:48

Join Date: Feb 2006
Posts: 113
pillar
Offline
Regular Contributor
if setFullScreen() is called in the constructor, it might not be happened before you already call getHeight(). Try setting the fullscreen mode elsewhere and calling getHeight() when the setFullScreen is definiately been processed. Hope this helps!
Reply With Quote

#5 Old Re: getHeight() gives same value in the Full Screen Mode - 2006-07-26, 00:32

Join Date: Dec 2005
Posts: 1,696
Location: Europe/Poland/Warsaw
peterblazejewicz
Offline
Super Contributor
hi Syson,

please implement:
Code:
protected void sizeChanged(int w, int h)
listener of Canvas class, for detecting screen changes if required, it should be quaranted by implementation that you always get correct values,
if you have issues let me know, I've the same device so could test it for compability,

regards,
Peter
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
How can we give full screen mode for MIDP1.0 supported mobiles other than nokia bb_sathya Mobile Java General 5 2005-12-30 19:27
Full Screen Mode GPRS Connection Icon murid Mobile Java Media (Graphics & Sounds) 0 2005-08-05 15:46
Encoding normal and full screen mode realvideo !!! HELP !!! ricsou Streaming and Video 0 2005-03-03 11:27
How to activate Full Screen mode on Series 80? anandrenake Symbian User Interface 1 2005-01-17 09:47
UI: Full Screen Mode GENERAL_INFO Symbian User Interface 3 2004-11-22 07:27

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