![]() ![]() When an app requests its downloaded files, the Download Provider uses its UID to filter out only the files owned by this app. ![]() The Download Provider maps a download entry to the triggering app using its UID. Once a request finishes (whether failed or succeeded), an entry is created within the Downloads Provider for it. The DownloadManager employs the Download Provider to keep track of all the downloads entries. If not specified, the default download destination is a shared folder under the private data directory of the Download Provider (/data/data//cache/) where the system might start deleting in case of space shortage. Optionally, the app can specify that a URI is to be downloaded to a certain destination. The app should specify the HTTP URI to be downloaded as a parameter to the Request. ![]() To initiate a download request, a client app creates a new DownloadManager.Request and enqueues it in the downloads queue. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |