I haven't been able to find a good programmatically accessible list of devices and resolutions, so I'm compiling one. Contributions welcome.
device_resolutions.csv contains entries for device, HW resolution, SW resolution, PPI, primary orientation and can be used to derive screen dimensions and aspect ratio.
- iPhone (all)
- iPad (all)
- Mac (soon to be all)
- Popular Samsung and Samsung Galaxy phones
- Popular Android tablets
- Google Nexus
- Google Pixel
- Kindle Fire Tablet
- Kindle Fire phone
- Standard TV broadcast formats (1080p, 720p, etc)