Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to determine canvas size?

 
Fredrik Andersson
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello!

I have developed a app in my J2ME Wireless Toolkit, but this canvas is much bigger than my Ericsson K700 that is just 176*220.

Do I need to compile a version of my app for each screen size/phone?

Best regards
Fredrik
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please be careful about duplicate posting. I closed the other thread with this exact same question. You can always delete your own threads by editing your first post in the thread, and clicking the Delete checkbox.

Mark
 
Jerry Olsson
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Start your program with getting the screen size (use your Displayable) then resize everything according to the screen size.
myDisplay.getWidth() myDisplay.getHeight()
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic