Exemplo n.º 1
0
        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);
        }
Exemplo n.º 2
0
 protected override bool InstalldirEntry(string packagePath)
 {
     ADBDevice.InstallPackage(packagePath, false);
     return(true);
 }