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
Kira DPI bagi peranti berdasarkan resolusi dan saiz skrin. Senarai peranti biasa adalah terbina dalam dan boleh didapati.
Kod sumber boleh didapati di GitHub: https://github.com/duncanleo/dpi-android