* @throws TimeoutException
* @throws SyncException
*/
public static void pushFile(IDevice device, final String[] localFrom, final FileEntry remoteTo)
throws TimeoutException, AdbCommandRejectedException, IOException{
SyncService server = device.getSyncService();
SyncResult result = server.push(localFrom, remoteTo, SyncService.getNullProgressMonitor());
UIHelper.showMessageDialog(result.getMessage());
// new SyncProgressMonitorAdapter(){
// @Override
// public void stop() {
// UIHelper.showMessageDialog("upload " + localFrom[0] + " to " + remoteTo.getFullPath() + " stop");