After working on Android applications, amongst other things, for the best part of 2 years now I've found that there are some things that can prove rather helpful when trying to make the design images look good on a variety of screens. Android lets you do this rather easily, but in dealing with assets intended to serve both iOS and Android applications you're likely to use the retina, @2x, versions. By sticking with just this size as much as possible you can reduce the application size significantly, rather than having multiple files for each asset in your project. But sometimes they can look a bit jagged if compressed too far by the OS. So you may need to find out what the device screen density is to put a new, sharper image in place.

I created DevStat to quickly see a device's details. So far the following are the details that can be seen.

Google play link

Screen Metrics
Width
Height
Display density
Drawable density
Screen size

Software

Android version
SDK Int
OpenGL ES version

Hardware

Memory class
Large memory class
Maximum memory
Free space
Vibrator presence
Telephony
Autofocus availability


The project is available on Github
Feel free to add features if you like! I intend to add information relating to:

  • Camera(s)
  • GPS
This was partly an exercise to see the functionality of the support action bar compatibility and to try a more pure gradle build script rather than adding gradle to a legacy project. I've not had a chance to test it on pre-4.0 devices, but it should hopefully work.