summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott Main <smain@google.com>2011-02-02 11:24:56 -0800
committerScott Main <smain@google.com>2011-02-02 15:40:47 -0800
commit2458f2a1ccf13a9f33c21d8aff260baefac9edb8 (patch)
treefeb402bef337fa0acc876e96e4cd1ed084906dfc
parent0c1a4d3b51337784583ef39378ca8796bb8b0992 (diff)
downloadbase-2458f2a1ccf13a9f33c21d8aff260baefac9edb8.tar.gz
cherrypick Change-Id: I60c74919ab3df359f47e5052bcc1469318a5b821
add notice about large screen devices and the "mobile" string in user agent Change-Id: I2e6a3f2c4fced2cf06bb996c1135c042682cdf8f
-rw-r--r--docs/html/guide/webapps/best-practices.jd5
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/html/guide/webapps/best-practices.jd b/docs/html/guide/webapps/best-practices.jd
index 4e9ae81acb3b..13629909276b 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").</p>
+ <p class="note"><strong>Note:</strong> Large screen Android-powered devices that should be served
+full-size web sites (such as tablets) do <em>not</em> 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.</p>
</li>