Screen Size on Samsung 10.1 Tablet

I connected my Samsung Tablet 10.1 (Android 4.1.2) and used AutoMacro to automatically touch. But AutoMacro gets the wrong screen size. The expected values ​​are 1280 X 800, but the new values ​​are 4096 X 4096. I have the same problem in other programs for automatic touch.

I have reset my tablet several times, but this problem still exists.

I use this getevent -p command to display this message:

 add device 7: /dev/input/event1 name: "sec_touchscreen" events: ABS (0003): 002f : value 0, min 0, max 9, fuzz 0, flat 0, resolution 0 0030 : value 0, min 0, max 255, fuzz 0, flat 0, resolution 0 0035 : value 0, min 0, max 4095, fuzz 0, flat 0, resolution 0 0036 : value 0, min 0, max 4095, fuzz 0, flat 0, resolution 0 0039 : value 0, min 0, max 65535, fuzz 0, flat 0, resolution 0 003a : value 0, min 0, max 255, fuzz 0, flat 0, resolution 0 003c : value 0, min 0, max 255, fuzz 0, flat 0, resolution 0 003d : value 0, min 0, max 416, fuzz 0, flat 0, resolution 0 input props: INPUT_PROP_DIRECT 

How do I fix this problem?

+6
source share
1 answer

Option 1:

Check the build.prop device manually and verify the density is correct.

  • Go to /system using file explorer and search for build.prop file
  • Make a backup copy of the build.prop file
  • Open the build.prop file and find the key " lcd_density ". By default, my device has a screen density of 240. You should have a different one. Just increase or decrease until you get the desired result.
  • Finally, set the file resolution rw-r--r--
  • Reboot and retest.

Tips:

There are currently 7 different DPIs supported by Android:

 120 (LDPI) 160 (MDPI) 213 (TVDPI) 240 (HDPI) 360 (XHDPI) 480 (XXHDPI) 640(XXXHDPI) 

You can apply any density between these scales.

Option 2:

Use window manipulator

enter image description here

Hope this helps!

+8
source

All Articles