To add and sync calendars and contacts with owncloud, you can use commands lines in terminal.
I've found it on https://lists.launchpad.net/ubuntu-phone/msg09789.html
Note : A good way to do that it's from a Desktop terminal connected to your ubuntu phone using ssh (then you can easily copy the commands lines). But it should work in the Terminal app of the phone as well
Calendar
Create Calendar
syncevolution --create-database backend=evolution-calendar database=Calendar1
Create Peer
syncevolution --configure --template webdav username=myusername password=mypassword syncURL=https://url-to-owncloud-install/remote.php/caldav/calendars/user-name/defaultcalendar keyring=no target-config@owncloud
Create New Source
syncevolution --configure backend=evolution-calendar database=Calendar1 @default Calendar1
Add remote database
syncevolution --configure database=https://url-to-owncloud-install/remote.php/caldav/calendars/user-name/defaultcalendar backend=caldav target-config@owncloud Calendar1
Connect remote calendars with local databases
syncevolution --configure --template SyncEvolution_Client syncURL=local://@owncloud username= password= owncloud Calendar1
Add local database to the source
syncevolution --configure sync=two-way database=Calendar1 owncloud Calendar1
Start firt sync
syncevolution --sync refresh-from-remote owncloud Calendar1
You can do that for calendar1, then calendar2, ...
In these commands lines, don't forget to replace :
For command N°2
'myusername' by your owncloud username
'mypassword' by your owncloud password
'https://url-to-owncloud-install/remote.php/caldav/calendars/user-name/defaultcalendar' by the adress link of calendar1 or calendar2 , ....
For command N°4
'https://url-to-owncloud-install/remote.php/caldav/calendars/user-name/defaultcalendar' by the adress link of calendar1 or calendar2 , ....
Contact :
The same way :
syncevolution --create-database backend=evolution-contacts database=Contact1
syncevolution --configure --template webdav username=myusername password=mypassword syncURL=Your_contact1_owcloud_adress keyring=no target-config@owncloud
syncevolution --configure backend=evolution-contacts database=Contact1 @default Contact1
syncevolution --configure database=Your_contact1_owcloud_adress backend=carddav target-config@owncloud Contact1
syncevolution --configure --template SyncEvolution_Client Sync=None syncURL=local://@owncloud username= password= owncloud Contact1
syncevolution --configure sync=two-way backend=evolution-contacts database=Contact1 owncloud Contact1
syncevolution --sync refresh-from-remote owncloud Contact1
Same remarks than calendar. I've tested it with only one contact database, but it should works for Contact2, Contact3, ...
For contact, make sure you use 'backend=evolution-contacts' and 'backend=carddav'(difference between calendar and contact commands lines)
Important :
For the next sync, you just have to do :
syncevolution owncloud calendar1
syncevolution owncloud contact1
and calendar2, contact2, ...
To synchronize contacts and calendars automatically, you can use a crontab job to launch theses commands when you want to. You can see this post : Syncevolution in cronjob to sync the ubuntu phone via caldav/arddav
Hope there is no mistake in my commands lines.