×

Discussion Board

Results 1 to 3 of 3

Thread: Canvas Menu

  1. #1
    Registered User
    Join Date
    Nov 2007
    Posts
    12

    Question Canvas Menu

    i develop a menu using canvas.The background is a picture which size is the same as the screen,and use six small picture as menu bar,but this occupy a great lot memory,leading to large video can't be play.how to reduce the occupied memory?

  2. #2
    Nokia Developer Expert
    Join Date
    Aug 2007
    Posts
    1,595

    Re: Canvas Menu

    Hello Joanli,

    1) Regarding pics: here are some suggestions:

    -try using smaller pics (how small the pics are already?)
    -release the memory reserved for the pics once you don't need to show the anymore

    Some links regarding the subject (images + memory):
    http://developers.sun.com/mobility/m...cles/slimming/
    http://forums.java.net/jive/thread.j...17549&tstart=0
    http://discussion.forum.nokia.com/fo...d.php?t=108005


    2) In addition: you mentioned large video, what's the size of the video file?

    3) Are you using emulator or phone? Which emulator/phone?

    Regards,
    r2j7

  3. #3
    Registered User
    Join Date
    Nov 2007
    Posts
    12

    Smile Re: Canvas Menu

    Hi r2j7,

    1) the background picture is 240*320,the menu bar picture is 80*28


    2) the size of the video file is 5M

    3)I used both emulator and phone,and emulator is an old version which i dont know .the emulator is provided with Sun WTK.The phone what i used is nokia E65

    I will carefully read the net which you give me.
    thanks

    Best Regards
    Joanli

Similar Threads

  1. submenu
    By felixksp in forum Mobile Java General
    Replies: 9
    Last Post: 2008-04-22, 20:24
  2. slide menu in j2me
    By afka in forum Mobile Java General
    Replies: 4
    Last Post: 2006-09-04, 09:10
  3. Nokia 6600:Joystick pressed in Canvas invokes options menu, how to disable ?
    By kakoskin in forum Mobile Java Media (Graphics & Sounds)
    Replies: 1
    Last Post: 2004-03-10, 16:10
  4. public class Menu extends MIDlet, Canvas
    By Woody_FX in forum Mobile Java General
    Replies: 4
    Last Post: 2003-12-16, 13:59
  5. Major problem with delegation to Canvas
    By bartekn in forum Mobile Java Media (Graphics & Sounds)
    Replies: 8
    Last Post: 2003-10-08, 17:46

Posting Permissions

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