public static String deviceResolution ( ) { DisplayMetrics metrics = QuickUtils . getContext ( ) . getResources ( ) . getDisplayMetrics ( ) ; return String . valueOf ( metrics . widthPixels ) + "x" + metrics . heightPixels ; }
Current device resolution