W3C home > Mailing lists > Public > public-coremob@w3.org > February 2012

RE: Charter [via Core Mobile Web Platform Community Group]

From: Josh Soref <jsoref@rim.com>
Date: Wed, 29 Feb 2012 15:45:27 +0000
To: Core Mobile <public-coremob@w3.org>
Message-ID: <957F1ECDA90E004B8DBDE23CFC94E3A33215683F@XMB103ECNC.rim.net>
Marcos wrote:
> What feature did I use?
> Which working group am I going to complain to?
> There is no "W3C iPad detection" feature, AFAIK :)
> The point is that some things are identified best at features and others as
> use cases… I needed to detect an iPad because I needed to add touch enabled
> scrolling, but only for the iPad (and not for Desktop).

I have a netbook (Lenovo Ideapad S10-3t Netbook), it can act like a normal laptop, or I can rotate the screen and fold it down. At which point, it's a tablet.

My netbook is full touch screen. And you've just discriminated against it.

You don't need to detect "iPad". I also have devices with touchpads. Please don't assert that you need to detect a specific piece of hardware. You should instead be doing something like this:

If (iPad) then
Else if (tinyScreen) then

On each of Desktop, MiniSite, and TouchOriented, you should have at the top/bottom buttons the user can click to change between Desktop, MiniSite, and TouchOriented. So if you don't have sniffing for my Ideapad S10-3t, I can still get to the TouchOriented site if I want to.

Technically the "right way" to do detection at this point is with CSS Media Queries fwiw. And there are discussions in www-style about adding some more device characteristics to make it easier to get this right.

This transmission (including any attachments) may contain confidential information, privileged material (including material protected by the solicitor-client or other applicable privileges), or constitute non-public information. Any use of this information by anyone other than the intended recipient is prohibited. If you have received this transmission in error, please immediately reply to the sender and delete this information from your system. Use, dissemination, distribution, or reproduction of this transmission by unintended recipients is not authorized and may be unlawful.
Received on Wednesday, 29 February 2012 15:46:03 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:05:44 UTC