I'm trying to find out the physical size of the device's screen using this code in my activity's onCreate():
DisplayMetrics metrics = new DisplayMetrics(); getWindowManager().getDefaultDisplay().getMetrics(metrics); On my G1 metrics.xdpi is 159.3723 and metrics.ydpi is 320.8401. That doesn't seem right. The screen is 480x320px and 66x44mm so I think both DPIs should be ~184.73. Am I missing something? -- Jon --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---