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

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
 Redirect_to(TouchOriented)
Else if (tinyScreen) then
 Redirect_to(MiniSite)
Else
 Redirect_to(Desktop)

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