# sardine-android **Repository Path**: xiaobeiit/sardine-android ## Basic Information - **Project Name**: sardine-android - **Description**: No description available - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-10-08 - **Last Updated**: 2021-06-13 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # sardine-android [![Build Status](https://circleci.com/gh/thegrizzlylabs/sardine-android.svg?&style=shield)](https://circleci.com/gh/thegrizzlylabs/sardine-android) [![Version number](https://jitpack.io/v/thegrizzlylabs/sardine-android.svg) ](https://jitpack.io/v/thegrizzlylabs/sardine-android.svg) A WebDAV client for Android, using [OkHttp](https://github.com/square/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:' } ``` - Create a `Sardine` client: ``` Sardine sardine = new OkHttpSardine(); sardine.setCredentials("username", "password"); ``` - Use the client to make requests to your WebDAV server: ``` List resources = sardine.list("http://webdav.server.com"); ``` ## Legacy Originally forked from [Sardine](https://github.com/lookfirst/sardine) [Apache HTTP Client](http://hc.apache.org/) was replaced by [OkHttp](https://github.com/square/okhttp) JAXB was replaced by [SimpleXml](http://simple.sourceforge.net/)