Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
系统使用wifi连接网络并下载文件。它将获取下载过程的状态。下载过程为 STATUS_FAILED、STATUS_PAUSED、STATUS_PENDING、STATUS_RUNNING 和 STATUS_SUCCESSFUL。
我想使用广播机制,从系统接收下载广播。然后通过 DownloadManager 相关方法获取下载状态。但它失败了。你能给我一些想法吗?谢谢!