How to find out Android device diagonal display width or screen size using adb shell? -
i need find out device-width keep track set different actions based on different width of every device, further used write script automate process. through research find out using commands like-
$ adb shell wm size output-physical size: 720x1280 adb shell wm density output-physical density: 320
curious know, if there other better way of doing this?
precise format of dumpsys command depends on hardware vendor (of graphics chipset/driver , handset itself) should able find info in adb shell dumpsys display output
Comments
Post a Comment