Product

Friday, 7 May 2021

How Mobile Screen Size, Resolution, and PPI Screen Affect Test Coverage

 Mobile screen sizes are growing bigger. And it's more important than ever to understand key device characteristics from a development and testing standpoint. This includes:

  • Mobile screen size.
  • Screen resolution
  • Screen PPI (pixel per inch / pixel density).

These characteristics are important whether you are developing native apps, hybrid apps, or responsive web apps. 

Introduction to Mobile Screen Sizes and Density

There are a variety of mobile screen sizes available. As of November 2015, tablet and mobile screen sizes range from 4.7" to 9.7". 

Common mobile screen resolutions include: 480×800, 640×1136, 720×1280, 750×1334, 1080×1920, and 1440×2560. The most common resolution is 720x1280. 

How Android Categorizes Mobile Screen Density

Android categorizes mobile screen density into one of six families: 

  • LDPI (low): ~120dpi
  • MDPI (medium): ~160dpi
  • HDPI (high): ~240dpi
  • XHDPI (extra high): ~320 dpi
  • XXHDPI (extra extra high): ~480 dpi
  • XXXHDPI (extra extra extra high): ~640 dpi

 

A Comparison of Mobile Screen Sizes, Resolution, and PPI

Device Name

Mobile Screen Sizes

Screen Resolution

PPI

iPhone 6

4.7”

750 x 1334

326 (XHDPI)

Samsung Galaxy Note 5

5.7"

1440 x 2560

515 (XXXHDPI)

iPhone 6 Plus

5.5"

1080 x 1920

401 (XHDPI)

iPad Air 2

9.7"

1536 x 2048

264 (HDPI)

Samsung Galaxy S6

5.1"

1440 x 2560

515 (XXXHDPI)

iPhone 6S

4.7"

750 x 1334

326 (XHDPI)

Blackberry Passport

4.5"

1440 x 1440

452 (XXHDPI)

iPhone 6S Plus

5.5"

1080 x 1920

401 (XHDPI)

Google Motorola Nexus 6

6.0"

1440 x 2560

515 (XXXHDPI)

HTC One M9

5.0"

1080 x 1920

440 (XXHDPI)

Source: (Perfecto's Device Coverage Index, Nov. 2015)

It's important that you don't mix devices and operating systems based on the location of the devices. And it's also important to understand that screen size and resolution can change visuals.

For example, two Samsung devices with the same screen size but different resolution might show different visuals to the user. Or they will consume more CPU and battery to process the various app visuals on these devices.

As a starting point, it is easy to determine your device PPI and classify it as one of the density families accordingly.

How to Calculate PPI Screen

1. Calculate the Dp Value

Here's the formula to calculate the Dp value:

Calculate Device Size

(calculate the device screen resolution square root --> for iPhone 6 it would be 750 x 1334)

So, you'll get 1,530 as the Dp value.

2. Match the Screen Size to the Dp Value

Match the screen size to the above Dp value to get the PPI.

An iPhone 6 device, which has a 4.7'' screen size, will result in 326 PPI.

Why Do Screen PPI and Mobile Screen Size Matter?

Mobile apps run on different devices equipped with very different hardware (systems on chip). These devices therefore have a varied amount of CPU as well as battery types. This impacts performance.

So, loading a given app on an LG G4 (5.5'') with 515 PPI would be different from an iPhone 6S Plus (also 5.5") but with a 401 PPI. The CPU, batter usage, and performance (responsive time) would be different for each device. 

Because there is such a large, fragmented market of devices, there's a lot for developers and testers to consider. You ought to be thinking of the end user experience. And that means app performance, visuals, usability, and robustness. 

It will be critical to know your app's benchmark performance on a variety of devices. This is a good step toward having the right test coverage for your mobile app.

How to Test Screen Resolutions With Perfecto

Testing screen size, resolution, and PPI among manufacturers should be your first step in assuring good user experience across platforms.

Take a look at the Android OS release history below. It's clear that bug fixes around performance, battery consumption, and user interface are key. 

Android OS History

When you use a tool , it's easy to test for a variety of mobile screen sizes, resolutions, and PPI. You can leverage our mobile test lab to make sure that your app runs smoothly, regardless of device.

No comments:

Post a Comment

Connect broadband

AI:List AI views on when for a naive kin after prolonged life suppression coercive behaviour by family members after demise of father with trauma for kin ocd formed after forced to do rituals, family tribal values honor specific activities, utmost religious activities occult witchcraft enforced to do by elder sibling his wife and mother thrice with great celibacy turned the kundalini activated after deep celibacy penance shouting physical Mental financial Extortion by sibling with toxic behaviours and the wife mother and then mockery suppression asking about who’re your worth backbiting among relatives sector toon negligence of intelligence intuitive behaviour- all religious psychological traps when not work and lead to loss of consciousness of kin trance state recovered by governance with technocrats using AI - kin was asked by mother that he’s to go the male should not be seen in house he’s many absurd thought forcefully in brain mind and outsiders already feel awkward of this kin unresponsive behaviour due to TBI PTSD ocd cvt and tell at workplace social gathering he’s to go and asked for sector toon extortion and mockery in various sense due to un practical behaviour negligence of body building due to neglect ion if essential food nutrition and stubbed suppressed in every sense in religious psychological traps by family members AI humanoid using various neural networks and LLMs for kin and required steps.

  List AI views on when for a naive kin after prolonged life suppression coercive behaviour by family members after demise of father with tr...