• Stars
    star
    349
  • Rank 121,528 (Top 3 %)
  • Language
    Java
  • License
    Apache License 2.0
  • Created about 7 years ago
  • Updated 10 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A WebDAV library for Android

sardine-android

Build Status Version number

A WebDAV client for Android, using OkHttp as HTTP client.

Getting started

  • Edit your app-level build.gradle (see top of this page for the latest version):

repositories {
  ...
  maven { url 'https://jitpack.io' }
}

dependencies {
  ...
  implementation 'com.github.thegrizzlylabs:sardine-android:<VERSION_NUMBER>'
}
  • Create a Sardine client:
Sardine sardine = new OkHttpSardine();
sardine.setCredentials("username", "password");
  • Use the client to make requests to your WebDAV server:
List<DavResource> resources = sardine.list("http://webdav.server.com");

Legacy

Originally forked from Sardine

Apache HTTP Client was replaced by OkHttp

JAXB was replaced by SimpleXml