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