Screen size

Started by
4 comments, last by WebMonster 20 years, 3 months ago
Hi all! How can I get the mobile''s screen widht, and heigth? I must use only MIDP 1.0 Any ideas?
Advertisement
Hi!

There are the getWidth() and getHeight() methods in the class Canvas.

McMc
----------------------------My sites:www.bytemaniac.com www.mobilegames.cc
But I want to use Forms
Forum automatically fit to the screen.

What exactly are you trying to do?
I want to draw a chessboard, but I need the screen''s size to draw lines.
You a canvas i think it maybe your only option then if you want to have a board that will work consistently.

Brian

This topic is closed to new replies.

Advertisement