How to get the Android device screen size from the adb command line?

前端 未结 9 2014
故里飘歌
故里飘歌 2020-12-07 10:37

I need a way to detect device screen size and density with adb. If there is no solution, where can I get the complete list of all existing android device with their screen

9条回答
  •  南笙
    南笙 (楼主)
    2020-12-07 10:53

    Work is Good:

    dumpsys window | grep Display
    

    return: Display: init=320x480 cur=320x480 app=320x480 rng=320x295-480x455

提交回复
热议问题