Discussion Board

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

    getHeight() in Canvas class

    My aim is to make generalised method that would work on all phones(nokia/motorola). For that i need to have perfect screen height of that phone.

    getHeight() of canvas class gives does not give perfect screen height....

    My purpose of using canvas class is that i want it to make it work on motorola phones also,otherwise i could have used FullCanvas and my work could have been achieved.

    so how could i go about this problem of getting the prefect screen height of a phone using getHeight() of Canvas class.

    help appreciated
    amal shah

  2. #2
    Nokia Developer Expert
    Join Date
    Jun 2005

    Re: getHeight() in Canvas class

    Set a Canvas to full screen and getHeight/getWidth will give you the correct screen dimensions. Please also check JavaDoc for Canvas class, method SizeChanged().


Similar Threads

  1. External Linking Error (Undefined Symbol)
    By nile_mail in forum Symbian
    Replies: 2
    Last Post: 2008-08-05, 13:10
  2. Linking Error(Undefined Symbol)
    By nile_mail in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 10
    Last Post: 2008-03-26, 23:32
  3. need information about j2me polish
    By rathikathangaraj in forum Mobile Java General
    Replies: 4
    Last Post: 2007-12-19, 09:01
  4. Major problem with delegation to Canvas
    By bartekn in forum Mobile Java Media (Graphics & Sounds)
    Replies: 8
    Last Post: 2003-10-08, 17:46
  5. Exceptions while loading application
    By avinash_rs in forum Mobile Java General
    Replies: 0
    Last Post: 2003-06-09, 10:53

Posting Permissions

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