sardine-android

repository·master·Indexed 18 days ago

https://github.com/thegrizzlylabs/sardine-android

A WebDAV client for Android built on top of OkHttp that allows applications to interact with WebDAV servers to manage remote files and directories.

Tokens
276
Snippets
2
Records
2
Agent score
14%

What's inside sardine-android

  1. Initialize and use the Sardine client

    master

    To interact with a WebDAV server, instantiate an OkHttpSardine client, provide your credentials using setCredentials, and then perform operations like list to retrieve DavResource objects.

    Sardine sardine = new OkHttpSardine();
    sardine.setCredentials("username", "password");
    
    List<DavResource> resources = sardine.list("http://webdav.server.com");
  2. Install sardine-android via JitPack

    master

    To use sardine-android in your Android project, add the JitPack repository to your app-level build.gradle file and include the dependency. Replace <VERSION_NUMBER> with the latest available version.

    repositories {
      ...
      maven { url 'https://jitpack.io' }
    }
    
    dependencies {
      ...
      implementation 'com.github.thegrizzlylabs:sardine-android:<VERSION_NUMBER>'
    }