Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User moonjava's Avatar
    Join Date
    Jun 2005
    Posts
    2
    Before, i only develope App on Sony and Samsung. But now, i wanna try with Nokia Series60 but my app cannot use FullScreen. Please show me how to use full canvas...

  2. #2
    Regular Contributor abolfoooud's Avatar
    Join Date
    Jan 2005
    Posts
    154
    Hi,
    u need to include the SetExtentToWholeScreen(); function in your container's ConstructL() function as follows:

    void MyContainer::ConstrucL(const TRect& aRect)
    {
    CreateWindowL();

    // Take the whole screen into use
    SetExtentToWholeScreen();

    ...

    SetRect(aRect);
    ActivateL();
    }

    hope this will help
    Abolfoooud

  3. #3
    Registered User grahamhughes's Avatar
    Join Date
    Jun 2003
    Location
    Cheshire, UK
    Posts
    7,394
    Somehow, I don't think C++ code is going to help this programmer with a Java problem.

    To use FullCanvas, you have to import the right package:
    Code:
    import com.nokia.mid.ui.*;
    Then change your code so that you extend FullCanvas instead of Canvas. Note that you cannot use Commands with FullCanvas, so calls to addCommand() or setCommandListener() will fail.

    Graham.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved