From 2458f2a1ccf13a9f33c21d8aff260baefac9edb8 Mon Sep 17 00:00:00 2001
From: Scott Main
Date: Wed, 2 Feb 2011 11:24:56 -0800
Subject: [PATCH] cherrypick Change-Id:
I60c74919ab3df359f47e5052bcc1469318a5b821 add notice about large screen
devices and the "mobile" string in user agent
Change-Id: I2e6a3f2c4fced2cf06bb996c1135c042682cdf8f
---
docs/html/guide/webapps/best-practices.jd | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/docs/html/guide/webapps/best-practices.jd b/docs/html/guide/webapps/best-practices.jd
index 4e9ae81acb3b0..13629909276b4 100644
--- a/docs/html/guide/webapps/best-practices.jd
+++ b/docs/html/guide/webapps/best-practices.jd
@@ -25,6 +25,11 @@ string provided by the web browser. To determine whether to serve a mobile versi
should simply look for the "mobile" string in the User Agent, which matches a wide variety of mobile
devices. If necessary, you can also identify the specific operating system in the User Agent string
(such as "Android 2.1").
+ Note: Large screen Android-powered devices that should be served
+full-size web sites (such as tablets) do not include the "mobile" string in the user agent,
+while the rest of the user agent string is mostly the same. As such, it's important that you deliver
+the mobile version of your web site based on whether the "mobile" string exists in the user
+agent.