I got the Screen Size by using the following from a activity,
Display display = getWindowManager().getDefaultDisplay();
But the same thing is n
there totally is a way to obtain it from a service:
WindowManager window = (WindowManager) getSystemService(Context.WINDOW_SERVICE); Display display = window.getDefaultDisplay(); int width = display.getWidth(); int height = display.getHeight();