Specifications: Samsung Galaxy Ace: LCD TFT / 3.5 inch / 480 x 320 pixels / 164 dpi.
but:
DisplayMetrics metrics = new DisplayMetrics(); getWindowManager().getDefaultDisplay().getMetrics(metrics);
float V_dpi = metrics.densityDpi;
V_dpi = 160 but technical characteristics is 164.