Code example for DownloadManager

Methods: remove

0
	} 
	private void cancelDownload() 
	{ 
		 
		long downloadID = preferenceManager.getLong(Download_ID, 0);
		downloadManager.remove(downloadReference);
		downloadManager.remove(downloadID);
	} 
	private void cancelAllDownload() 
	{ 
		int i=0;
		for(i=0;i< mul_download_req_id.size();i++)
		{ 
			long downloadID =  mul_download_req_id.get(i);
			Log.e("Brodcast_QuizMaster", "download remove id:"+downloadID);
			downloadManager.remove(downloadID);
		}