Examples of pullFile()


Examples of com.android.ddmlib.SyncService.pullFile()

   * @param localTo
   */
  public static void pullFile(IDevice device, final FileEntry remoteFrom, final String localTo)
      throws TimeoutException, AdbCommandRejectedException, IOException{
    SyncService server = device.getSyncService();
    SyncResult result = server.pullFile(remoteFrom, localTo, SyncService.getNullProgressMonitor());
    UIHelper.showMessageDialog(result.getMessage());
//        new SyncProgressMonitorAdapter(){
//      @Override
//      public void stop() {
//        UIHelper.showMessageDialog("download " + remoteFrom.getName() + " to " + localTo + " stop");
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.