Code example for Point

Methods: getSize

0
	public String getClientName(){
		return mClientName;
	} 
	 
	public int getScreenWidth(){ 
		Point size = new Point();
		mWindowManager.getDefaultDisplay().getSize(size);
		return size.x;
	} 
	 
	public int getScreenHeight(){ 
		Point size = new Point();
		mWindowManager.getDefaultDisplay().getSize(size);
		return size.y;
	} 
	 
	// Returns the input handler 
	public InputInterface getInput(){ 
		return mInput;
	}