If you’re trying to sniff the Samsung Galaxy Tab, here is the current User Agent string1:
Mozilla/5.0 (Linux; U; Android 2.2; en-us; SCH-I800 Build/FROYO) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1
It looks like SCH-I800 may be the best thing to look for.
Would it have killed them to add “Android Tablet (7 inch)” in there somewhere?
- Tested with the Verizon model. [back]
In the WURFL database the user-agent for the Galary Tab looks like this:
Mozilla/5.0 (Linux; U; Android 2.2; es-es; GT-P1000 Build/FROYO) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1
As far as I understand SCH-I800 is Verizon’s version of the Galaxy Tab.
Agree, that is is unfortunate that the user-agent does not indicate better that it is a tablet device. Checking on model numbers is very inefficient.