I found this dpi/ppi calculator to be useful: http://www.sven.de/dpi/ It will give you the actual physical dpi. Taking this value and then rounding it to the closet dpi bucket (http://developer.android.com/reference/android/util/DisplayMetrics.html) would be a good bet, even though the manufacturer could choose a different bucket.
Tobias Den onsdagen den 16:e april 2014 kl. 09:14:48 UTC+2 skrev Simon Giddings: > > Thank you Marina for your reply which is much more useful. > > Even if it means that I am stuck at this point. After all, as independent > developers, we are not all sufficiently rich to be able to purchase a > number of tablet devices to be able to run our tests. > > Thank you again Marina, I won't be wasting my time searching further. > > On Tuesday, 15 April 2014 15:27:10 UTC+2, Marina Cuello wrote: >> >> You can search for/make an app that detects the bucket and install it, if >> you have access to the device. A quick search gives me >> https://play.google.com/store/apps/details?id=com.pmc.android.checkscreensize, >> >> but there are plenty. >> Otherwise, as far as I can recall it depends on the manufacturer's >> decision which bucket it takes. So no, you can't "calculate" the bucket >> given the physical screen size and dpi specs. >> >> Marina >> >> >> On Tue, Apr 15, 2014 at 4:06 AM, Simon Giddings <[email protected]>wrote: >> >>> The "effort" I made did not reveal this result and it certainly does not >>> answer the question ! >>> >>> My question was more general, if you hadn't noticed. >>> Given that most tablets will give a horizontal and vertical pixel size >>> as well as a diagonal size in inches, is it possible to determine the >>> density bucket (to use googles term) ie: MDPI or HDPI or XHDPI, etc >>> >>> From what you have managed to find, this device would appear to fall >>> between two buckets - HDPI and XHDPI because >>> - HDPI screens are ~240dpi >>> - XHDPI screens are ~320dpi >>> (according to Supporting Multiple >>> Screens<http://developer.android.com/guide/practices/screens_support.html> >>> ) >>> >>> So the question remains open .... >>> >>> >>> On Monday, 14 April 2014 20:21:31 UTC+2, Chris wrote: >>>> >>>> Googling the exact phrase "Toshiba eXcite Pro AT10LE-A-10D screen DPI" >>>> yields in the first result a screen DPI of 300. >>>> >>>> At least give it an effort. >>>> >>>> - C >>>> >>>> On Tuesday, April 1, 2014 3:28:39 AM UTC-4, Simon Giddings wrote: >>>>> >>>>> I am looking at buying a Toshiba eXcite Pro AT10LE-A-10D, which boasts >>>>> a screen resolution of 2560 x 1600 pixels for a screen diagonal of 10.1. >>>>> >>>>> Is it possible to calculate the DP value - ie MDPI / HDPI / XHDPI etc ? >>>>> >>>>> I haven't been able to find any form of developer support on the >>>>> toshiba web site, which could have helped. >>>>> >>>> -- >>> You received this message because you are subscribed to the Google >>> Groups "Android Developers" group. >>> To post to this group, send email to [email protected] >>> To unsubscribe from this group, send email to >>> [email protected] >>> For more options, visit this group at >>> http://groups.google.com/group/android-developers?hl=en >>> --- >>> You received this message because you are subscribed to the Google >>> Groups "Android Developers" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to [email protected]. >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.

