Profile cover photo
Profile photo
Alex Frenkel
120 followers -
fighting for some EV+
fighting for some EV+

120 followers
About
Alex's posts

Post has attachment

Post has attachment

Post has attachment

Post has shared content

Post has attachment

Post has attachment
I have joined right now and already got 20GB!

Post has attachment

Post has attachment

Post has shared content
+Android Developers! If you want to test your UI in pretty much all environments, a Nexus 10 is all you need.

There are two really useful commands you should know: "adb shell am display-size" and "adb shell am display-density".

These two commands will tell an attached device to emulate a display resolution or density other than the native display properties of the device. You can tell either property to reset by telling it "reset" as the resolution or density argument.

What this means is that with one high resolution, high density device like the Nexus 10, you can simulate the environment of just about any other Android device you'll care about for basic UI testing. The resource system will give you the appropriate resources for the adjusted Configuration and you can check each different device class you want to support in minutes.

#androiddev  

Post has attachment
Wait while more posts are being loaded