In my android application I need to get device screen width and height programmatically. Any Help?
Replied on September 15, 2015
Display display = activity.getWindowManager().getDefaultDisplay(); Point size = new Point(); display.getSize(size); int screenWidth = size.x; int screenHeight = size.y;
We are a group of software developers. We enjoy learning and sharing technologies. To improve the site's content, your valuable suggestions are most welcome. Thanks
Email : concretepage@gmail.com