Distinguishing between Android Phones and Tablets

We ran into this today; android phones and tablets were being lumped together, so in particular, the Motorola Xoom got the mobile version of our (iMarc’s) website even when it shouldn’t have. That’s all fixed now; the key is that useragents for Android phones all contain ‘Mobile’ (before Safari) and tablets don’t.