No Description
Abel García de Prada 8da24c5076
Merge pull request #340 from owncloud/release/1.0.7
3 weeks ago
.github/workflows Perform gradle validation only on pr 5 months ago
.idea/codeStyles Android Studio 3.5.0 1 year ago
gradle/wrapper Update gradle to 6.5 3 months ago
owncloudComLibrary Upgrade version code and version name 3 weeks ago
sample_client Use Android separator instead of homemade one 3 months ago
.gitignore cleanup .gitignore 8 months ago Update Copyright year to 2020 6 months ago Update dav4android and okttp versions to 4.6.0 1 month ago
build.gradle Update Android Studio to 4.0.1 1 month ago Create OAuth scope param to save it in AccountManager during OAuth process 7 months ago
gradlew Added gradle support to the owncloud-android-library 5 years ago
gradlew.bat Added gradle support to the owncloud-android-library 5 years ago
settings.gradle Rename library module from lib to owncloudComLibrary 1 year ago

ownCloud Android Library


Using ownCloud Android library it will be the easiest way to communicate with ownCloud servers. Add this library in your project and integrate your application with ownCloud seamlessly.

Install Library

2.1. Information how to get the library

Get this code and compile it. In the repository it is not only the library project but also the example project “sample_client”; thanks to it you will learn how to use the library.

2.2. Add library to your project

There are different ways of adding this library to your code, then it is described one of them

Step 1. Compile the ownCloud Android Library Step 2. Define a dependency within your project. For that, access to Properties > Android > Library and click on add and select the ownCloud Android library

Branching strategy

The repository holds two main branches with an infinite lifetime:

  • stable
  • master

Branch origin/stable is considered the main branch where the source code of HEAD always reflects a production-ready state.

Branch origin/master is considered the main branch where the source code of HEAD always reflects a state with the latest delivered development changes for the next release.

When the source code in the master branch reaches a stable point and is ready to be released, all of the changes should be merged back into stable somehow and then tagged with a release number.

Other branches, some supporting branches are used to aid parallel development between team members, ease tracking of features, prepare for production releases and to assist in quickly fixing live production problems. Unlike the main branches, these branches always have a limited life time, since they will be removed eventually.

The different types of branches we may use are:

  • Branch perNewFeature
  • Branch releaseBranches

Both of them branch off from master and must merge back into master branch through a Pull Request in Github. Once the PR is approved and merged, the US branch may be deleted.


ownCloud Android Library is available under MIT license. See the file with the full license text.

Third party libraries

ownCloud Android Library uses OkHttp version 4.6.0, licensed under Apache License and version 2.0. Besides, it uses Dav4Android, licensed under Mozilla Public License, v. 2.0


ownCloud Android Library is valid for Android systems from version Android 5 (android:minSdkVersion=“21” android:targetSdkVersion=“29”).

ownCloud Android library supports ownCloud server from version 4.5.