add logic to determine the screen size

This is not well-tested yet, but seems to work on Kindle Fire and Galaxy Nexus. 
Also, we currently just return a String containing the dimensions.

Needs more testing. So please do.