public override bool Install(string packagePath) { ValidateState(); mEventProvider.OnActivityProgressUpdated(new ActivityProgressUpdatedEventArgs(string.Format(Resources.LblActivityInstallPackage, packagePath), 0, -1)); try { ADBDevice.InstallPackage(packagePath, false); } finally { mEventProvider.OnActivityProgressUpdated(new ActivityProgressUpdatedEventArgs(Resources.LblActivityInstallFinished, 1, 1)); } return(true); }
protected override bool InstalldirEntry(string packagePath) { ADBDevice.InstallPackage(packagePath, false); return(true); }