# webdav-android **Repository Path**: ray0728/webdav-android ## Basic Information - **Project Name**: webdav-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**: 2023-11-10 - **Last Updated**: 2023-11-10 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # sardine-android [![Build Status](https://github.com/thegrizzlylabs/sardine-android/actions/workflows/android.yml/badge.svg)](https://github.com/thegrizzlylabs/sardine-android/actions/workflows/android.yml) [![Version number](https://jitpack.io/v/thegrizzlylabs/sardine-android.svg) ](https://jitpack.io/#thegrizzlylabs/sardine-android) 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/) ## Alternatives See [Awesome WebDAV: Java libraries](https://github.com/WebDAVDevs/awesome-webdav/blob/main/readme.md#java)