Ejemplo n.º 1
0
 public void UpdatePackagesList()
 {
     _dispatcher.Invoke(() => Packages.Clear());
     var packages = AdbShell.GetAllPackagesList(_id);
     var qvcPackages = packages.Where((x) => x.Contains("com.qvc") || x.Contains("com.qvcuk") || x.Contains("de.qvc")).ToList();
     _dispatcher.Invoke(()=>qvcPackages.ForEach((p) => Packages.Add(new Build(p, _id))));
     SelectedPackage = new Build(String.Empty, String.Empty);
 }
Ejemplo n.º 2
0
 private void UninstallObject()
 {
     AdbShell.UninstallApk(SelectedPackage.PackageName, SelectedPackage.DeviceId);
     Packages.Remove(Packages.Where(x => x.PackageName == SelectedPackage.PackageName).FirstOrDefault());
     SelectedPackage = new Build("", Id);
 }
Ejemplo n.º 3
0
 private void UninstallObject()
 {
     AdbShell.UninstallApk(SelectedPackage.PackageName, SelectedPackage.DeviceId);
     Packages.Remove(Packages.Where(x => x.PackageName == SelectedPackage.PackageName).FirstOrDefault());
     SelectedPackage = new Build("", Id);
 }