Get screen resolution as integer on Android

1
2
// In order to work, this snippet requires at least Android SDK API 13 +
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Simple snippet showing different ways to get the device's screen resolution on Android.

#WindowManager #Display #Point
#screen #resolution #android

#cesarnog

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.