Package com.suwish.device

Examples of com.suwish.device.SyncProgressMonitorAdapter


   * @throws SyncException
   */
  public static void pushFile(IDevice device, final String localFrom, final String remoteTo)
      throws TimeoutException, AdbCommandRejectedException, IOException{
    SyncService server = device.getSyncService();
    server.pushFile(localFrom, remoteTo, new SyncProgressMonitorAdapter(){
      @Override
      public void stop() {
        UIHelper.showMessageDialog("upload  " + localFrom + " to " + remoteTo + " stop");

      }
View Full Code Here


   * @throws SyncException
   */
  public static void pullFile(IDevice device, FileEntry[] remoteFrom, String localTo)
      throws TimeoutException, AdbCommandRejectedException, IOException{
    SyncService server = device.getSyncService();
    server.pull(remoteFrom, localTo, new SyncProgressMonitorAdapter(){
      @Override
      public void stop() {
//        UIHelper.showMessageDialog(parent, message, title, messageType);

      }
View Full Code Here

TOP

Related Classes of com.suwish.device.SyncProgressMonitorAdapter

Copyright © 2018 www.massapicom. 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.