question: @ Deprecated @ Override protected final Boolean doInBackground ( final String ... params ) { Log . i ( TAG , "Uploading " + params [ 0 ] ) ; mFile = params [ 0 ] ; long beforeTime = System . currentTimeMillis ( ) ; mResult = upload ( mFile ) ; if ( mResult == UploadResult . WRONG_PASSWORD ) { return false ; } mSpeed = calcSpeed ( System . currentTimeMillis ( ) , beforeTime , mSize ) ; return ( mResult == UploadResult . OK ) ; }
target:  Background task. Note: When uploading several files upload is continued even on errors (i.e. will try to upload other files)