blog

Quick Tip: SystemScreen Class at Jozef Chúťka's blog

December 6, 2010

1 Comment

Capabilities DPI SystemScreen

Quick Tip: SystemScreen Class

SystemScreen class is a group of constants helping you to convert between inches, centimeters and pixels based on Capabilities class. The results are not exact, but are pretty close. The following example demonstrates the real device screen size vs. SystemScreen calculated values based on Capabilities.screenDPI:

Real device:    SystemScreen:
       24.0"           30.59"
        3.4"            3.67"

SystemScreen – wonderfl build flash online

You may Leave a comment or Subscribe to Comments RSS or Trackback this entry.

1 comment so far

Adrian Parr’s Blog » Blog Archive » Test for Capabilities.screenDPI January 6, 2011 17:03 […] Quick Tip: SystemScreen Class […]

Leave a comment

Please be polite and on topic. Your e-mail will never be published.