public static Display getDefaultDisplay ( ) { WindowManager windowManager = ( WindowManager ) RuntimeEnvironment . application . getSystemService ( Context . WINDOW_SERVICE ) ; return windowManager . getDefaultDisplay ( ) ; }
Returns the default display .