Example #1
0
 /// <summary>
 /// Pushes a data.tgz archive from the local machine to the device.
 /// </summary>
 /// <returns>
 /// The output of the push command.
 /// </returns>
 public string PushDataArchive()
 {
     _parent.WriteToConsole(AdbCommand.ExecuteShellCommand(Constants.MOUNT_DATA).Replace("\r", "") + "\n");
     return(AdbCommand.ExecuteCommand(Constants.PUSH_DATA_ARCHIVE));
 }
Example #2
0
 /// <summary>
 /// Pulls the data.tgz archive from the device.
 /// </summary>
 /// <returns>
 /// he output of the pull command.
 /// </returns>
 public string PullDataArchive()
 {
     return(AdbCommand.ExecuteCommand(Constants.PULL_DATA_ARCHIVE));
 }