Branch | Build Status |
---|---|
Master |
Add the library to project:
repositories {
maven {
url 'http://dl.bintray.com/alexanderr/maven'
}
}
dependencies {
compile 'net.sf.xfd:providers:0.1'
}
The library includes two ContentProviders: one is exported without permission protection (no extra steps like calling grantUriPermission required!), and security is ensured by signing dynamically generated Uri with SHA1-based HMAC. Annother one implements DocumentProvider contract (an entry in file choser). You can disable either of them, if you don't need both.
See source code of example project for basic usage.