How to detect 7" Android tablet in code
问题 I am trying to detect 7" tablets in my code (i.e. Kindle Fire & Nook Color). However, simply testing for minimum dimensions 1024x600 is not good, because then the Galaxy Nexus would pass this test as well. Anybody has experience with detecting this kind of information? Thanks, Igor EDIT: I have found one way to detect Kindle Fire & Nook Color devices with the following code: Activity activity = (Activity) activityContext; activity.getWindowManager().getDefaultDisplay().getMetrics(metrics);