summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Main <smain@google.com>2011-02-02 11:24:56 -0800
committerScott Main <smain@google.com>2011-02-08 09:17:23 -0800
commitb68162a9d6212598a529d63079db15bea6da654c (patch)
treed8ad4628a91bb65d1d98e4b7b8848bd5d8ddd0fb
parent4fe9288c2575e1d9eb300a5da950d6bb6f296ffe (diff)
downloadframeworks_base-b68162a9d6212598a529d63079db15bea6da654c.zip
frameworks_base-b68162a9d6212598a529d63079db15bea6da654c.tar.gz
frameworks_base-b68162a9d6212598a529d63079db15bea6da654c.tar.bz2
cherrypick Change-Id: I60c74919ab3df359f47e5052bcc1469318a5b821
add notice about large screen devices and the "mobile" string in user agent Change-Id: Ieff429675dc7edbdacc6662f645b71712b12b3ad
-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 4e9ae81..1362990 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>