×

Discussion Board

Results 1 to 6 of 6
  1. #1
    Registered User
    Join Date
    May 2006
    Posts
    8

    Using full screen for canvas class in MIDP 1.0

    Hi i'm a newbie at canvas class.

    I notice that in MIDP 1.0 NOKIA Phones, whenever you try to display canvas, the entire screen is not used. The upper portion of the phone is used to display the MIDlet name while remaining portion of the screen for the canvas. Is there a way to eliminate this problem? I want o display my canvas using the WHOLE screen. I know in MIDP 2.0, there is a command to do so, the setFullScreenMode. But what about in MIDP 1.0? Thanks!

  2. #2
    Super Contributor
    Join Date
    Nov 2003
    Location
    Bangalore , India
    Posts
    4,429

    Re: Using full screen for canvas class in MIDP 1.0

    Hi remondo! Welcome to Nokia Discussion Boards!! :)

    In MIDP 1.0 devices try using Nokia specific com.nokia.mid.ui.FullCanvas instead of Canvas.
    http://www.hta-bi.bfh.ch/Projects/po...ullCanvas.html

    Hope this helps!

    Regards
    Gopal

  3. #3
    Registered User
    Join Date
    May 2006
    Posts
    8

    Re: Using full screen for canvas class in MIDP 1.0

    Hi Balagkopalks,

    Whenever i try to import com.nokia.mid.ui.FullCanvas, the following error message appears.

    package com.nokia.mid.ui does not exist
    import com.nokia.mid.ui.FullCanvas;

    I think my WTK (2.2) doesn't support it. Where can i download the package? I hope it still exists!!! Lastly, please give me some instructions on how to integrate it to WTK. Thanks in advance!

  4. #4
    Super Contributor
    Join Date
    Mar 2006
    Posts
    516

    Re: Using full screen for canvas class in MIDP 1.0

    Hi remondo,

    Here is a discussion on it

    http://discussion.forum.nokia.com/fo...ad.php?t=79245


    Wang

  5. #5
    Super Contributor
    Join Date
    Nov 2003
    Location
    Bangalore , India
    Posts
    4,429

    Re: Using full screen for canvas class in MIDP 1.0

    If you are using SUN WTK, you have to copy the desired Nokia device's emulator from the devices folder(for eg: C:\Nokia\Devices) of the SDK and paste it in the C:\WTK23\wtklib\devices folder.
    Now restart the WTK and the newly copied Nokia emulator will be displayed in the devices list of WTK. Select the Nokia emulator, Build and Create package with Nokia emulator selected and you can easily run your Nokia apps with this new emulator.
    So that u can work on Nokia emulator through WTK.

    Hope this helps!

    You could download Series 40 SDKs here.
    http://www.forum.nokia.com/main/0,6566,034-521,00.html

    Regards
    Gopal

  6. #6
    Registered User
    Join Date
    May 2006
    Posts
    8

    Re: Using full screen for canvas class in MIDP 1.0

    Oh, ok, i got it! I didn't realize that it could only work with Nokia phones. Thanks!!

Similar Threads

  1. Transparency Help for Series 60 MIDP 1.0
    By joethegong in forum Mobile Java Media (Graphics & Sounds)
    Replies: 0
    Last Post: 2005-01-13, 08:27
  2. Series 60Series 60 MIDP Concept SDK Beta 0.2 Linux bug?
    By kauppi in forum Mobile Java Tools & SDKs
    Replies: 3
    Last Post: 2003-04-07, 09:05
  3. Replies: 1
    Last Post: 2002-12-18, 11:30
  4. Http connection problem in 6310i
    By teahola in forum Mobile Java General
    Replies: 1
    Last Post: 2002-10-03, 18:46
  5. MIDP 1.0 release for Communicator 9210 ?
    By TobiARA in forum Mobile Java General
    Replies: 0
    Last Post: 2002-08-07, 06:23

Posting Permissions

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