This is an extract for a blog post I wrote for intohand. Read the full article here.

Whilst emulators provide a function, nothing beats testing on real hardware. As a developer however unless you’re near a test wall of phones, have a very large bag or lots of colleagues/friends who are all running different software versions it can be a pain. It would be ideal if you could have a single phone that acted as a Swiss Army knife.

At the end of this article using a tool called MultiRom you’ll have a Nexus 4 with the option of booting into various versions of Android.

mulitboot-image09

Nexus 10 can be one of those handy test devcies apart from being a descent 10″ tablet even if it’s 18+months old. One handy thing about the the it’s high res is that you simulate lower display size and/or density. ¬†This assumes you have the Android SDK installed and adb in PATH.nexus 10
Plug in device to usb and turn off screen and try these commands to change/override both the screen res and the density:

adb shell am display-size 640×800
adb shell am display-density 480

 //if you want to reset to normal just type
adb shell am display-density reset

From Android 4.3 this command moved to the window manager (wm)
adb shell wm size 640×800
adb shell wm density 480

Let me know how you get on, you can of course use on other devices.
Credit for flagging these commands should go to Adam Powell based on his G+ post