[SysApps][Android] Support different resolution for DeviceCapabilities demo.

The original implementation does not consider supporting different
resolution. This patch will support and has been tested in many phones
and emulators.
Merge pull request #48 from itlodge/fix_device_capabilities_demo

Let the DeviceCapabilities demo support different resolution