O'Reilly logo

Sams Teach Yourself jQuery Mobile in 24 Hours by Phil Dutson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Hour 17. Detecting Mobile Devices

What You’ll Learn In This Hour:

• Why developers choose to use mobile detection

• Various methods of detecting mobile devices

• How to redirect a mobile device after detection

• Pros and cons of mobile detection methods

You may have noticed that when you visit some websites on your mobile device you are automatically redirected to a mobile version of the site. While this may seem like Internet black magic, there is a much simpler explanation for the events that happen behind the scenes. Before we get to the magic, let’s take a moment and learn why mobile detection is important.

Learning the Importance of Mobile Detection

Over the last decade we have enjoyed progressively faster and faster connection speeds. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required