All Projects → nextcloud → android-library

nextcloud / android-library

Licence: other
☎️ Nextcloud Android library

Programming Languages

java
68154 projects - #9 most used programming language
kotlin
9241 projects

Projects that are alternatives of or similar to android-library

checksum
Plugin for Nextcloud and ownCloud to create hashes of files.
Stars: ✭ 25 (-65.28%)
Mutual labels:  nextcloud
nextcloud-java-api
Java api library to access nextcloud features from java applications
Stars: ✭ 61 (-15.28%)
Mutual labels:  nextcloud
nextcloud-talk-bot-framework
A framework for writing Nextcloud Talk chatbots with every language that supports gRPC.
Stars: ✭ 23 (-68.06%)
Mutual labels:  nextcloud
dockerimages
🐳 Some dockerfiles based on alpine
Stars: ✭ 27 (-62.5%)
Mutual labels:  nextcloud
dart-nextcloud
A Nextcloud client for dart
Stars: ✭ 18 (-75%)
Mutual labels:  nextcloud
MySB
MySB (MySeedBox) is more than a simplified installation script of a multi-users Seedbox. There are many solutions to install a Seedbox, but we never talk about safety and regular operations. MySB could be renamed MySSB (MySecuredSeedBox).
Stars: ✭ 105 (+45.83%)
Mutual labels:  nextcloud
nextcloud docker
Docker setup to run Nextcloud
Stars: ✭ 35 (-51.39%)
Mutual labels:  nextcloud
xmpp-cloud-auth
🔑 Authentication hub for Nextcloud+JSXC→Prosody, ejabberd, saslauthd, Postfix
Stars: ✭ 58 (-19.44%)
Mutual labels:  nextcloud
SaorTech-cloud-services
A range of scripts to provision and configure open source cloud services.
Stars: ✭ 23 (-68.06%)
Mutual labels:  nextcloud
ocr
Nextcloud OCR (optical character recoginition) processing for images with tesseract-js
Stars: ✭ 98 (+36.11%)
Mutual labels:  nextcloud
mediadc
Nextcloud Media Duplicate Collector application
Stars: ✭ 57 (-20.83%)
Mutual labels:  nextcloud
ldapcontacts
View other LDAP users as contacts in Nextcloud and see the personal data they shared
Stars: ✭ 18 (-75%)
Mutual labels:  nextcloud
logreader
📜 Log reader for Nextcloud
Stars: ✭ 46 (-36.11%)
Mutual labels:  nextcloud
backmeup
BackMeUp: An automated MySQL / MariaDB databases and files backup solution on *nix Machines using Amazon S3, WebDAV (ownCloud / NextCloud etc.), Google Drive and Dropbox.
Stars: ✭ 80 (+11.11%)
Mutual labels:  nextcloud
integration google
🇬 Google integration into Nextcloud
Stars: ✭ 74 (+2.78%)
Mutual labels:  nextcloud
previewgenerator
Nextcloud app to do preview generation in the background.
Stars: ✭ 355 (+393.06%)
Mutual labels:  nextcloud
integration github
🐙 GitHub integration into Nextcloud
Stars: ✭ 41 (-43.06%)
Mutual labels:  nextcloud
limit login to ip
nextcloud app that lets you Limit login to IP ranges
Stars: ✭ 20 (-72.22%)
Mutual labels:  nextcloud
security-advisories
👮 Security advisories of Nextcloud
Stars: ✭ 35 (-51.39%)
Mutual labels:  nextcloud
ownNoteEditor
JavaFX editor for the ownNote files locally stored in ownCloud folder
Stars: ✭ 25 (-65.28%)
Mutual labels:  nextcloud

Nextcloud Android Library v2 Build Status Codacy Badge

Introduction

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

Android Library v2

Starting from 01.10.2019 we will not actively develop our old library (v1), but maintain it until 01.10.2021 with bug fixes. v2 is using OkHTTP and DAV4jvm by BitfireAT. Needed changes for projects using this library are:

  • change build.gradle
    • add to android {…}: compileOptions {
          sourceCompatibility JavaVersion.VERSION_1_8
          targetCompatibility JavaVersion.VERSION_1_8
    
    }
    • add to dependencies {…}:
       implementation "commons-httpclient:commons-httpclient:3.1@jar" // remove after entire switch to lib v2
    

Use Library

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.

There are different ways of adding this library to your code

Gradle / Maven dependency

At the moment we do not have a publishing mechanism to a maven repository so the easiest way to add the library to your app is via a JitPack Dependency

repositories {
    ...
    maven { url "https://jitpack.io" }
}
dependencies {
    ...
    compile 'com.github.nextcloud:android-library:-SNAPSHOT'

As a git submodule

Basically get this code and compile it having it integrated via a git submodule:

  1. go into your own apps directory on the command line and add this lib as a submodule: git submodule add https://github.com/nextcloud/android-library nextcloud-android-library
  2. Import/Open your app in Android Studio

Branching strategy

The repository holds one main branch with an infinite lifetime:

  • master

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.

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

Development process

We are all about quality while not sacrificing speed so we use a very pragmatic workflow.

  • create an issue with feature request
    • discuss it with other developers
    • create mockup if necessary
    • must be approved --> label approved
    • after that no conceptual changes!
  • develop code
  • create pull request
  • to assure the quality of the app, any PR gets reviewed, approved and tested by two developers before it will be merged to master

License

Nextcloud Android Library is available under MIT license. See LICENSE.md with the full license text.

Third party libraries

Nextcloud Android Library uses Apache JackRabbit, version 2.12.4. 
Copyright (C) 2004-2010 The Apache Software Foundation. 
Licensed under Apache License, Version 2.0.
Apache JackRabbit depends on Commons HTTPClient version 3.1 and SLF4j version 1.7.5; both included also. 
Copyright (C) 2004-2010 The Apache Software Foundation. 
Licensed under Apache License, Version 2.0.

Compatibility

Nextcloud Android library is valid for Android version 3.0 and up (with android:minSdkVersion="11" and android:targetSdkVersion="24").

Nextcloud Android library supports Nextcloud server from version 9+.

When using newer libraries in your application that integrates with the Nextcloud Android library you could hit a conflict issue with the logging libraries used by our (outdated) HTTPClient. In order to mitigate the issues, please add the following in your build.gradle for the time being:

configurations.all {
    exclude group: "org.slf4j", module: "slf4j-log4j12"
    exclude group: "log4j", module: "log4j"
}
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].