tag:blogger.com,1999:blog-89878749563391212.post709787014504075262..comments2024-03-25T17:53:11.127-07:00Comments on Android-er: Get screen size in DPIUnknownnoreply@blogger.comBlogger2125tag:blogger.com,1999:blog-89878749563391212.post-61442892154216172322013-04-04T12:02:47.018-07:002013-04-04T12:02:47.018-07:00Hello,
I'm not sure your question, sorry.
As...Hello,<br /><br />I'm not sure your question, sorry.<br /><br />As my understanding, Dots Per Inch is same as ppi (pixel per inch). Are you confused with density? read <a href="http://developer.android.com/reference/android/util/DisplayMetrics.html#density" rel="nofollow">DisplayMetrics.density</a>. ~ This value does not exactly follow the real screen size...Erikhttps://www.blogger.com/profile/04983894331825656853noreply@blogger.comtag:blogger.com,1999:blog-89878749563391212.post-41007067450246183092013-04-04T00:22:56.348-07:002013-04-04T00:22:56.348-07:00strScreenDIP += "The exact physical pixels pe...strScreenDIP += "The exact physical pixels per inch of the screen in the X dimension: " + dm.xdpi + "\n";<br /><br />xdpi is x Dots Per Inch not "exact physical PPI"<br /><br />Am I right?<br />Anonymousnoreply@blogger.com