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