O'Reilly logo

Beginning Android Web Apps Development: Develop for Android using HTML5, CSS3, and JavaScript by Grant Allen, Rocco Augusto, Jon Westfall

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

Chapter 6

Handling Different Browser Platforms

So far, we’ve discussed ways to detect the type of device that is accessing your web page or application and to deal with it appropriately. This has involved special CSS files, formatting concerns, and more. Like any good baker will tell you, however, it is not always the wisest of ideas to keep all of your eggs in one basket. That is why, in this chapter, we’re going to take a step back and discuss methods that you can use to understand what device is accessing your service and to act appropriately.

The reason for this is simple: Not one solution will fit all problems. For instance, you might need to allow mobile users to access a web application and you might find it possible to format pages ...

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