コード例 #1
0
 public void start() {
   progressNotification = new ProgressNotification();
   if (downloadManager.query(downloadId) == DownloadManager.STATUS_NOT_FOUND) {
     downloadId = downloadManager.add(downloadRequest);
   }
   progressNotification.showProgressNotify();
 }
コード例 #2
0
 public void closeDownload() {
   downloadManager.release();
   downloadRequest.cancel();
 }