O'Reilly logo

Mastering PhoneGap Mobile Application Development by Kerri Shotts

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

Pixel densities

Devices of many different screen dimensions dominate today's mobile landscape. Some are small with 4.5-inch screens and others are quite large with 6-inch screens. Tablets, of course, are even larger at 7 inches, 8.9 inches, 10 inches, and so on (the recently released iPad Pro is 12.9 inches).

To further complicate matters, the resolutions of these screens are also very different. The physical dimension of a screen tells you very little about how many pixels it contains—a 4.5-inch screen might have a resolution of 320 x 480 pixels or it might be 640 x 960, or 1280 x 800. Slightly larger screens may have significantly more pixels – a 6-inch phone may have a resolution of 2560 x 1600.

Most developers are used to thinking about pixels ...

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