• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Browser resolution

billd

Well-Known Member
I was noticing that large images seemed a bit too large in Firefox given my Tab Pro 8.4's 2560x1600 resolution.

I decided to do a test to check the resolution with Javascript screen.width and screen.height.

Firefox, Opera, Chrome and the Android browser all show 800x1200 resolution.

Dolphin shows 2560x1600 resolution.

SVGSVGElement.screenPixelToMillimeterX/Y is shown to be useless like everyone says. For the 800x1200 browsers I was getting a calculated diagonal of 15.72 inches. For Dolphin it shows 31.45 inches. Useless.
 
Back
Top Bottom