Is there a database, which contains resolution in pixels, screen-size and density for each particular device?
Something like this:
Samsung Galaxy S2 | 480 x 800 | screen-size=normal | density=hdpi
Google Nexus | 1280x720 | screen-size=normal | density=xhdpi