Пример #1
0
		public void LaunchAppOnDevice(Device device)
		{
			if (device == null)
				throw new NoDeviceSpecified();
			Logger.Info("Launching App " + Name + " on " + device.Name);
			device.Launch(this);
			Logger.Info("Done Launching App " + Name);
		}
Пример #2
0
 public InstallationFailedOnDevice(Device device, AppInfo app)
     : base(app.Name + " on " + device)
 {
 }
Пример #3
0
 public AppNotInstalled(Device device, AppInfo app)
     : base(app.Name + " on " + device)
 {
 }
Пример #4
0
		private void TryLaunchApp(AppInfo appInfo, Device device)
		{
			UpdateBuildProgressBar("App launched", 100);
			device.Launch(appInfo);
		}
Пример #5
0
		private void LaunchApp(AppInfo appInfo, Device device)
		{
			try
			{
				TryLaunchApp(appInfo, device);
			}
			catch (Device.StartApplicationFailedOnDevice ex)
			{
				AppInfoExtensions.LogStartingAppFailed(appInfo, ex.DeviceName);
			}
		}
Пример #6
0
 private void TryLaunchApp(AppInfo appInfo, Device device)
 {
     try
     {
         UpdateBuildProgressBar("App launched", 100);
         device.Launch(appInfo);
     }
     catch (Device.StartApplicationFailedOnDevice ex)
     {
         AppInfoExtensions.LogStartingAppFailed(appInfo, ex.DeviceName);
     }
 }