0

有什麼方法可以通過下載管理器設置PendingIntent嗎?還是DownloadManager.Request?我向用戶發送通知工具欄上有關下載此:PendingIntent和DownloadManager

request.setNotificationVisibility(DownloadManager.Request.VISIBILITY_VISIBLE_NOTIFY_COMPLETED); 

請求被初始化LIK這樣的:

DownloadManager.Request request = new DownloadManager.Request(Uri.parse(url)); 

我需要它,這樣,當用戶點擊該通知他們帶到和活動或文件被下載的地方。

回答