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

1 comment so far

  1. [...] Quick Tip: SystemScreen Class [...]

Leave a comment

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