// GetNewAndroidDevice method returns a new Android device instance based on the
// specified serial number.
func (am AndroidManager) GetNewAndroidDevice(serial string) Android {
	dev := device.NewDevice(serial, am.Timeout, am.Endpoint)
	inp := input.NewInputManager(dev)
	viw := view.NewDeviceView(dev)
	disp := display.NewDisplay(dev)
	act := activity.NewActivity(dev)
	return Android{dev, inp, viw, disp, act}
}
// NewTouchScreen method returns a new TouchScreen and associates it with
// given device.
func NewTouchScreen(dev device.Device) TouchScreen {
	disp := display.NewDisplay(dev)
	return TouchScreen{dev: dev, disp: disp}
}