Ejemplo n.º 1
0
 public string PullFile(string remotePath, string localPath) =>
 ADB.IssueADBCmd(ADB.CreateADBCmd(this, "pull", new string[] { "\"" + remotePath + "\"", "\"" + localPath + "\"" }));
Ejemplo n.º 2
0
 public bool IsSecureDevice() =>
 ADB.IssueADBCmd(ADB.CreateADBShellCmd(this, false, "cat", new string[] { "/default.prop" })).ToLower().Contains("ro.secure=1");
Ejemplo n.º 3
0
 public string PullDirectory(string location, string destination) =>
 ADB.IssueADBCmd(ADB.CreateADBCmd(this, "pull", new string[] { "\"" + (location.EndsWith("/") ? location : (location + "/")) + "\"", "\"" + destination + "\"" }));
Ejemplo n.º 4
0
 public bool InstallAPK(string location) =>
 Conversions.ToBoolean(ADB.IssueADBCmd(ADB.CreateADBCmd(this, "install", new string[] { "\"" + location + "\"" })));