xqzhle / downloadprovider Goto Github PK
View Code? Open in Web Editor NEWThis project forked from yxl/downloadprovider
Porting Android DownloadProvider
This project forked from yxl/downloadprovider
Porting Android DownloadProvider
This project ports the DownloadProvider of Android 2.3.7. It supports Android 2.2 and above. It is standard Eclipse project, which could be open by Eclipse with the Andoird Development Tools. To illustrate how to use it, I also provide a simple demo. 1. com.mozillaonline.downloadprovider A simple demo shows how to schedule a download and list all downloads. 2. com.mozillaonline.providers The package of the Android DownloadProvider. I modified the original code to let it work without root permission. I also remove redundant code respective to RM, MediaScanner and system caches. "com.mozillaonline.providers.DownloadManager", as name suggests, is where you manage the downloads. Most of work could be done with this class. For convenience, I add methods of pausing and resuming a download. 3. Remarks com.mozillaonline.providers.downloads.Downloads.AUTHORITY defines the authority of the DownloadProvider. Change the authority both in the code and the AndroidManifest.xml file to avoid conflict with other applicaitons. 4. License Apache License, Version 2.0
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.