In this post I will show you how to setup your android to sync with the nextcloud.

The idea is to be able to see the NextCloud calendar appointments on the Adroid device and be able to add new ones on it.

Since adding CalDAV (calendar) and CardDAV (contacts) to android is not supported nativley you will have to install a 3rd party tool. I choose to use the open source tool DAVdroid for that.

If you have a few bucks to spare, are lazy or both please buy the app in the app store and support the developers.

(If you do, you can skip the first 6 steps)

Since DAVdroid is open source you can get the app for free. This is how you get the apk.

1) Visit the DAVdroid seite and click on Open Source > download the App on F-Droid

2) Download the APK

3) Your device will warn you about instaling software from unknown sources.
Go to settings.

4) Here you can allow the installation from unknown sources “once”.

5) Disable the android battery life optimizer as it can interrupt the DAVdroid sync.

6) Click the plus in DAVdroid

8) Here you can insert the connection details of your NextCloud

https://<URL>/nextcloud/remote.php/dav/principals/users/USER/

If you are unsure, just copy them.
Go to the calendar and click on Settings & Import in the lower left corner.

At the URL replace USER with the login name !

9)Now define wether you want to sync calendar and/or contacts and click on the two arrows on the top to trigger a manual synchronisation.

Thats it.
The connection is established and contacts should get uploaded.

Also calendar objects should start appearing and you should be able to create them.

 

Cheers,
Ori