public void onProgress(long bytesWritten,long totalSize){
  Log.v(LOG_TAG,String.format("Progress %d from %d (%2.0f%%)",bytesWritten,totalSize,(totalSize > 0) ? (bytesWritten * 1.0 / totalSize) * 100 : -1));
}

public void onProgress ( long bytesWritten , long totalSize ) { Log . v ( LOG_TAG , String . format ( "Progress %d from %d (%2.0f%%)" , bytesWritten , totalSize , ( totalSize > 0 ) ? ( bytesWritten * 1.0 / totalSize ) * 100 : - 1 ) ) ; }
fired when the request progress , override to handle in your own code
