Example #1
0
		public AndroidDevice(AndroidDebugBridgeRunner adbRunner, AndroidDeviceInfo deviceInfo)
		{
			this.adbRunner = adbRunner;
			AdbId = deviceInfo.AdbDeviceId;
			state = deviceInfo.DeviceState;
			Name = adbRunner.GetDeviceName(AdbId);
			IsEmulator = Name.StartsWith("emulator");
			Logger.Info("\t" + this);
		}
 public AndroidDevice(AndroidDebugBridgeRunner adbRunner, AndroidDeviceInfo deviceInfo)
 {
     this.adbRunner = adbRunner;
     AdbId          = deviceInfo.AdbDeviceId;
     state          = deviceInfo.DeviceState;
     Name           = adbRunner.GetDeviceName(AdbId);
     IsEmulator     = Name.StartsWith("emulator");
     Logger.Info("\t" + this);
 }
		public void Start()
		{
			adbRunner = new AndroidDebugBridgeRunner();
			firstDevice = GetFirstAvailableDevice();
		}