Calculate the DPI of a device based on its resolution and screen size. A list of common devices is built-in and available.
Source code available at GitHub: https://github.com/duncanleo/dpi-android
คำนวณ DPI ของอุปกรณ์ตามความละเอียดของหน้าจอและขนาดของมัน รายการอุปกรณ์ที่พบบ่อยในตัวและสามารถใช้ได้
รหัสที่มาใช้ได้ที่ GitHub: https://github.com/duncanleo/dpi-android