Screen Resolution Method

Put your problem here if it does not fit any of the other categories.

Screen Resolution Method

Postby Danuubz » Mon Jun 09, 2008 5:46 pm


Can anybody help me with the question how to find out the device's screen resolution property?

I wanted to try that by importing 'android.awt.AndroidGraphicsConfiguration' in order to invoke its 'getBounds()' method. However, the compiler shows an error when I try to import anything with 'android.awt.*'.....

Is there another possibility to find out how many pixels the screen contains?

Second question: Does anybody have experience with 'android.os.SystemProperties'? There's no list of keys on the reference site :-(

I'm looking forward for your answers!
User avatar
Experienced Developer
Experienced Developer
Posts: 78
Joined: Wed Dec 19, 2007 10:44 pm
Location: Germany


Return to Other Coding-Problems

Who is online

Users browsing this forum: No registered users and 8 guests