All Content
Blogs
Forums
News
Tutorials
Log In
Sign Up
Login
Username / Email
Password
Remember me
Forgot password?
Login
or
Don't have a GameDev.net account?
Sign up
Forgot your password?
Email Address
Reset Password
Please contact us if you have any trouble resetting your password.
Home
Blogs
Forums
News
Portfolios
Projects
Tutorials
33
users logged in
New?
Learn about game development
.
Before posting, review our
community guidelines
.
Follow Us
Chat in the
GameDev.net Discord!
Mastodon
Back to General and Gameplay Programming
Screen size
General and Gameplay Programming
Programming
Started by
WebMonster
December 31, 2003 12:11 PM
4
comments, last by
WebMonster
20 years, 3 months ago
WebMonster
122
Author
December 31, 2003 12:11 PM
Hi all! How can I get the mobile''s screen widht, and heigth? I must use only MIDP 1.0
Any ideas?
Cancel
Save
Advertisement
McMcDonald
122
December 31, 2003 12:43 PM
Hi!
There are the getWidth() and getHeight() methods in the class Canvas.
McMc
Cancel
Save
----------------------------My sites:
www.bytemaniac.com
www.mobilegames.cc
WebMonster
122
Author
January 01, 2004 11:06 AM
But I want to use Forms
Cancel
Save
Woody FX
169
January 01, 2004 01:48 PM
Forum automatically fit to the screen.
What exactly are you trying to do?
Cancel
Save
WebMonster
122
Author
January 01, 2004 03:49 PM
I want to draw a chessboard, but I need the screen''s size to draw lines.
Cancel
Save
Woody FX
169
January 02, 2004 03:29 AM
You a canvas i think it maybe your only option then if you want to have a board that will work consistently.
Brian
Cancel
Save
This topic is closed to new replies.
Advertisement
Popular Topics
How do you manage yourself and your time as years pass on?
GDNet Lounge
Too many managers?
General and Gameplay Programming
Do your part to stop global warming and climate change
GDNet Lounge
The promise of freedom in story games
Game Design and Theory
Facebook Ads for sales on steam, does it work?
Games Business and Law
Understanding the wavy-like shape in alpha-testing magnification for text rendering
Graphics and GPU Programming
Advertisement
Recommended Tutorials
Shader Programming Part I: Fundamentals of Vertex Shaders
Graphics and GPU Programming
Practical Cross Platform SIMD Math
General and Gameplay Programming
Developer Spotlight: Dave Eberly
Interviews
A First-Look at Sector 13
Interviews
The Viral Formula
Business and Law
Reticulating splines
About GameDev.net
Community Guidelines
Terms of Service
Privacy Policy
Contact Us
Copyright (c) 1999-2024 GameDev.net, LLC
Back to Top