dav4android is an Android library for WebDAV, CalDAV, and CardDAV protocol support. Originally developed for DAVdroid (now DAVx5) by bitfire, this fork is used by the ownCloud Android app to communicate with ownCloud servers using standard DAV protocols. The library handles XML parsing, property management, and HTTP communication required for DAV operations.
Note: This repository is in maintenance/legacy mode and is no longer actively developed.
This library is a dependency of the ownCloud Android app, providing the DAV protocol layer for server communication. The original repository is maintained at bitfireAT/dav4android on GitLab.
Note: This repository is currently in Archived/Legacy mode. It is an ownCloud-specific fork of the upstream bitfire project.
Follow the steps below to build the library and run its tests.
./gradlew build./run-tests.shStar this repo and Watch for release notifications!
We welcome contributions! Please read the Contributing Guidelines and our Code of Conduct before getting started.
- Rebase Early, Rebase Often! We use a rebase workflow. Always rebase on the target branch before submitting a PR.
- Dependabot: Automated dependency updates are managed via Dependabot. Review and merge dependency PRs promptly.
- Signed Commits: All commits must be PGP/GPG signed. See GitHub's signing guide.
- DCO Sign-off: Every commit must carry a
Signed-off-byline:git commit -s -S -m "your commit message" - GitHub Actions Policy: Workflows may only use actions that are (a) owned by
owncloud, (b) created by GitHub (actions/*), or (c) verified in the GitHub Marketplace.
Do not open a public GitHub issue for security vulnerabilities.
Report vulnerabilities at https://security.owncloud.com -- see SECURITY.md.
Bug bounty: YesWeHack ownCloud Program
This project is licensed under the MPL-2.0.
The Kiteworks Open Source Program Office, operating under the ownCloud brand, launched on May 5, 2026, to steward the open source ecosystem around ownCloud's products. The OSPO ensures transparent governance, license compliance, community health, and sustainable collaboration between the open source community and Kiteworks, which acquired ownCloud in 2023.
- OSPO Home: https://kiteworks.com/opensource
- GitHub: https://github.com/owncloud
- ownCloud: https://owncloud.com
For questions about the OSPO or licensing, contact ospo@kiteworks.com.
The OSPO is driving a strategic relicensing of ownCloud repositories toward the Apache License 2.0, following the Apache Software Foundation's third-party license policy.
Individual repositories will migrate as their audit is completed. The LICENSE file in each repo reflects its current license status (not the target).
Current license: MPL-2.0 (Category B per Apache policy -- weak copyleft, may be included with care).
Migration prerequisites for this repository:
- CLA/DCO coverage: All past contributors must have signed agreements permitting relicensing
- File-level analysis: MPL-2.0 is a file-level copyleft; each source file's license must be assessed
- Header updates: All source file headers must be updated from MPL-2.0 to Apache-2.0 notice
- Dependency audit: Verify no Category X dependencies