,Integer,String> {
privateTextView tvTitle;privateProgressBar pbarDownLoad;privateContext mContext;private staticString HOST_PC_IP= "cdn.llscdn.com";private longcurrentDownloadID;private booleanidDownloading= true;privateString urlPath;publicMyDownLoadAsyncTask(Context mContext,TextView tvTitle,ProgressBar pbarDownLoad,String urlPath) {
this.mContext= mContext;this.tvTitle= tvTitle;this.pbarDownLoad= pbarDownLoad;this.urlPath= urlPath;}
@OverrideprotectedString doInBackground(Integer... integers) {
downloadByDownloadManager(mContext,urlPath);returnString.valueOf(integers[0].intValue());}
@Overrideprotected voidonPreExecute() {
Toast.makeText(mContext,"开始下载",Toast.LENGTH_SHORT).show();super.onPreExecute();}
@Overrideprotected voidonProgressUpdate(Integer... values) {
intvalue = values