summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorScott Main <smain@google.com>2011-02-02 15:44:29 -0800
committerAndroid Git Automerger <android-git-automerger@android.com>2011-02-02 15:44:29 -0800
commitcb2d88176565a199ad6c6a3a6360a166bd700579 (patch)
tree6650dbd1ab5311bbeea4dc206f91bf9aa9e66cda /docs
parent8b05f6a2af3b12fd92991feb4a32a9a252d7d7c6 (diff)
parent2458f2a1ccf13a9f33c21d8aff260baefac9edb8 (diff)
downloadframeworks_base-cb2d88176565a199ad6c6a3a6360a166bd700579.zip
frameworks_base-cb2d88176565a199ad6c6a3a6360a166bd700579.tar.gz
frameworks_base-cb2d88176565a199ad6c6a3a6360a166bd700579.tar.bz2
am 2458f2a1: cherrypick Change-Id: I60c74919ab3df359f47e5052bcc1469318a5b821 add notice about large screen devices and the "mobile" string in user agent
* commit '2458f2a1ccf13a9f33c21d8aff260baefac9edb8': cherrypick Change-Id: I60c74919ab3df359f47e5052bcc1469318a5b821 add notice about large screen devices and the "mobile" string in user agent
Diffstat (limited to 'docs')
-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>