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
Tính DPI của một thiết bị dựa trên độ phân giải và kích thước màn hình. Một danh sách các thiết bị phổ biến được xây dựng trong và có sẵn.
mã nguồn có sẵn tại GitHub: https://github.com/duncanleo/dpi-android