Caldav synch adapter for Android

Overview

AndroidCaldavSyncAdapater

CalDAV Sync Adapter for Android

See wiki for more information and server compatibility list (https://github.com/gggard/AndroidCaldavSyncAdapater/wiki)

Building the project

Using eclipse

Choose: Import -> Android -> Existing Android Code Into Workspace

Using ant

list available android sdk versions (targets):

android list | grep -E '^id'

if you need to download more sdk versions:

android

use one of the above "targets" below:

cd CalDAVSyncAdapter
android update project --path . --target android-18
ant debug

check bin/CalDAVSyncAdapter-debug.apk

Using Android Studio

Choose Import Project, choose CalDAVSyncAdapter Folder.

Select "Create project from existing sources". Next...

If you get an error about unregistered Git Root, select Add Git root.

Comments
  • timoberger/AndroidCaldavSyncAdapater alpha-4

    timoberger/AndroidCaldavSyncAdapater alpha-4

    Hello,

    i just installed version alpha-4 and with this release i can't sync with davical. Below error from davical

    davical: LOG: request:Request is "REPORT" but client set content-type to "text/xml;charset="UTF-8"". Assuming they meant XML! davical: LOG: request:Request is "REPORT" but client set content-type to "text/xml;charset="UTF-8"". Assuming they meant XML! davical: LOG: request:Request is "REPORT" but client set content-type to "text/xml;charset="UTF-8"". Assuming they meant XML! davical: LOG: request:Request is "PROPFIND" but client set content-type to "application/xml;charset="UTF-8"". Assuming they meant XML! davical: LOG: request:Request is "REPORT" but client set content-type to "text/xml;charset="UTF-8"". Assuming they meant XML! davical: LOG: request:Request is "REPORT" but client set content-type to "text/xml;charset="UTF-8"". Assuming they meant XML! davical: LOG: request:Request is "REPORT" but client set content-type to "text/xml;charset="UTF-8"". Assuming they meant XML! davical: LOG: request:Request is "PROPFIND" but client set content-type to "application/xml;charset="UTF-8"". Assuming they meant XML! davical: LOG: request:Request is "REPORT" but client set content-type to "text/xml;charset="UTF-8"". Assuming they meant XML!


    bug server incompatibility 
    opened by AdamN1 33
  • Error:

    Error: "Couldn't read row 337, col 0 from CursorWin..."

    In the Android notification I have the error:

    "Caldav sync error (general)
    Couldn't read row 337, col 0 from CursorWin..."
    

    I do not have the complete error message. I could not find the error message in the source code. I have no real idea of where it comes from. My server is DAViCal. I have an export of the agenda in .ics format

    I get it when synchronising a big agenda (1049 entries). So it may be hard to find the record causing the error.

    What can I do next?

    bug 
    opened by LudovicRousseau 30
  • Reccuring events cause CalDAV Sync Adapter to crash

    Reccuring events cause CalDAV Sync Adapter to crash

    Hi, I'm forwarding this report from http://f-droid.org/forums/topic/caldav-sync-adapter/ , because I happen to have the same problem.

    Hi, I’ve found a way of making a calendar entry which crashes the sync adaptor. If you set up an entry which repeats the 4th Monday of every month, starting on 21/1/2013 and repeating until 31/12/2013 it causes a force close when refreshing in the calendar or syncing from Android’s Account menu. If you need me to upload the vCal file then just let me know. Thanks!

    In my own case, trying to sync with a remote calendar that has reccuring events (mine are simple events that repeat daily, during 4 days) causes the app to crash.

    Please let me know if you need additional info, thanks.

    bug 
    opened by nodiscc 15
  • Wrong URL

    Wrong URL

    Installed today via F-Droid on my "Samsung GT-I8190 Galaxy S III mini". While i try to setup with ownCloud 5.0.10 i get a "Wrong URL" error.

    My URL attempts (with and without trailing slash):

    • https://mysubd.blahblah.de/remote.php/caldav/principals/myuser
    • https://mysubd.blahblah.de/remote.php/caldav/calendars/myuser/defaultcalendar
    • https://mysubd.blahblah.de/remote.php/caldav

    Nothing worked so far. Could there be a problem with subdomains? Is there a logfile where i can see more details?

    Android 4.1.2 + CalDAV Sync Adapter 1.7

    bug 
    opened by ghost 12
  • [timoberger repo] Local calendar creation problem

    [timoberger repo] Local calendar creation problem

    As I tried to find out what's my problem I found DavCalendar throwing an Exception in line 274 of the current master branch, if DavCalendar.createNewAndroidCalendar returns no DavCalendar. It is indeed catched in the SyncAdapter but I think this is not intended?

    Unfortunately I didn't exactly find out what my problem is, but it seems to have to do with calendar creation in Android. Can you explain me what you meant by the following comment in line 346-347 of DavCalendar.java?

    // it is possible that this calendar already exists but the provider failed to find it within isCalendarExist()
    // the adapter would try to create a new calendar but the provider fails again to create a new calendar.
    

    Or maybe you know what someone can do, if ContentProviderClient.insert() returns null (the block before)? That's exactly the reason why I can't sync my calendars...

    Thanks in advance.

    bug CyanogenMod with incognito-function 
    opened by opendev0 11
  • "Invalid server answer, check URL" with owncloud on Android 4.3

    This might be a duplicate of issue #9 so feel free to merge if this is better. I am trying to connect to my owncloud server and tried to use the .../principals/my_user url scheme. However, I always get a "Invalid server answer, check URL". Is there an easy way to provide more information?

    I tried 1.7 from Android play store and fdroid as well as timonberger's 1.8-alpha build from issue #86. All having the same effect. My phone is a Nexus 4 running cyanogenmod 10.2 nightly (Android 4.3).

    If I can provide more help or clues with a compiled version, and it is easy to build this in eclipse, I will clone the git repository and give it a go.

    Cheers, Ulrich

    server incompatibility 
    opened by ulno 11
  • Connexion réussie mais pas d'agenda

    Connexion réussie mais pas d'agenda

    Bonjour, Je parviens à connecter le compte et à activer la synchro, en revanche une fois dans Google Agenda, je vois bien mon compte, mais il n'y a aucun agenda associé. Mon serveur caldav est baikal, un serveur (français!) simple mais efficace. Je suis sous CyanogenMod10.1 sur mon Kindle Fire 2 et mon ZTE blade. A noter qu'avec la version demo de AnDal, je parviens à me connecter, à synchroniser, à gérer mes agendas. Je n'y connais pas grand-chose en dev sous android, mais je vais essayer de voir si je peux tirer quelque-chose de plus précis, ne serait-ce que pour voir si le problème vient de l'appli ou de ma config.

    bug server incompatibility 
    opened by minami-o 11
  • Caldav Sync error (gener..): illegal character in path at index 48:/cloud/remote.php/caldav/calend...

    Caldav Sync error (gener..): illegal character in path at index 48:/cloud/remote.php/caldav/calend...

    When I add my OwnCloud account everything seems fine at first, but the adapter never syncs with the server. Instead I get the above error displayed in the message area.

    I'm using Cyanogenmod 10.0 (Android 4.1), AndroidCalDAVSyncAdapter 1.8 (from F-Droid), and an unknown OwnCloud version (probably 5.0, and I could find it out). Other calendars like Kontact (in KDE) or aCal (on Android) work fine with my account.

    Am I the only person with this problem? Should I provide more information?

    I'm really glad I discovered this promising project, and I hope it will work for me soon!

    bug 
    opened by vlapla 10
  • incomplete radicale support

    incomplete radicale support

    i use the radicale caldav server.

    using version 5dc78b20604db7746ae5d859396cb554e8471c5f with pull request #83 merged in, calendars are slow to be discovered, and only one event shows up per month for the last three months.

    using 5dc78b20604db7746ae5d859396cb554e8471c5f without the pull request (and after deleting the old account, then making a new one) only one calendar was discovered, syncing keeps progressing, and no events show up.

    i'm really excited for this project, so thanks for the contribution! :-)

    bug server incompatibility 
    opened by leaf-node 8
  • Sync and content-type

    Sync and content-type

    Hello, about the https://github.com/gggard/AndroidCaldavSyncAdapater/issues/34

    i have build apk agains today git master branch unfortunately error is still there

    [Mon Sep 09 21:40:11 2013] [error] [client 178.182.219.21] davical: LOG: request:Request is "PROPFIND" but client set content-type to "text/plain". Assuming they meant XML!

    duplicate 
    opened by AdamN1 8
  • AndroidCaldavSyncAdapater crash

    AndroidCaldavSyncAdapater crash

    I run my own ownCloud Server on a Raspberry Pi and tried to sync the Calendar with Android 4.1 on a Nexus S. The syncing went well, but after I reinstalled ownCloud on the server, the App now crashes every time when it tries to sync.

    opened by kmh42 8
  • End of life

    End of life

    There is no activity any more here and it seems like the app has serious issues with recent android versions. Does any one know a good alternative way of syncing calendars on android?

    opened by steglicd 4
  • First sync works but never sync afterwards

    First sync works but never sync afterwards

    I like the simplicity of the app, but I have a problem with synchronisation. The first sync goes smoothly and I see all my events, but the account never sync afterwards, so the new events are not added.

    If I go to account and sync manually, nothing happens, and I still have the last sync being the day I installed the app. Only solution is to delete the account and recreate it.

    Is there anyway to get logs to understand why it is not syncing?

    opened by jeannotalpin 4
  • aol calendar stopped syncing, running android 4.4.2

    aol calendar stopped syncing, running android 4.4.2

    My aol calendar stopped syncing to the default calendar app in android 4.4.2 (kitkat). All present & past months are blank. When I opened settings, went to accounts, caldav no longer appeared. Went to application manager & saw it is still installed. Under "Launch By Default," says "No defaults set" which is grayed out. I see no way to change this setting. However, under permissions, it shows that it runs at startup. & I see that it is running. Any idea as to why account was deleted and if update no longer works with android 4.4.2? If I add the caldav account, anyone know the url to obtain the calendar?

    opened by lhb02 0
  • network error

    network error

    By trying to connect to my t-online calendar I receive an network error with the adress https://spica.t-online.de/spica-calendar/caldav. Username and Password are correct. It works well for the contact list with https://spica.t-online.de!

    opened by StefanFlens 0
  • Doesn't show up in app tray

    Doesn't show up in app tray

    I installed version 1.8.1 from F-droid on Android 7.1.2

    I see the app in the list of apps in Settings->Apps, but it doesn't show up in my app tray, so I cannot launch it.

    opened by ssalenik 0
Releases(v1.8.1)
  • v1.8.1(Nov 20, 2013)

    These are the changes for this release (bugfixes only)

    • #123 negative duration (dtstart is after dtend)
    • #135 missing encoding during put request
    • untag android events in steps #119
    • proguard complained about the libs
    • changed getPath to getRawPath, fixes #103
    • issue #126 http-header host with server port
    • optional account name during account creation #108 and #103
    • zimbra: new events got duplicated #103
    • NullPointerException in MultiStatusHandler #129, #131, #132
    • Tine 2.0 is reported as working #72

    thanks to all beta tester for their patience.

    Source code(tar.gz)
    Source code(zip)
    CalDAVSyncAdapter.apk(1.15 MB)
  • v1.8(Sep 30, 2013)

    The main change within this release is the ability of 2 way sync. Events created/updated/deleted on client side are getting synchronized to the server.

    These are some of the changes for this release:

    • 2 way sync
    • google calendar supported
    • calendars are deleted on client side when deleted on server side
    • incorrect use of content-type text/plain for XML requests
    • sometimes provider.insert() returns null Uri
    • net.fortuna.ical4j.data.ParserException
    • Calendar NumberFormatException
    • URL without trailing slash
    • Every request is doubled
    • sync adapter acts greedy during calendar update
    • the etag for events are not stored correct

    thanks to all alpha tester for their patience.

    Source code(tar.gz)
    Source code(zip)
    CalDAVSyncAdapter.apk(1.15 MB)
Owner
Gérald GARCIA
Gérald GARCIA
Android library which makes it easy to handle the different obstacles while calling an API (Web Service) in Android App.

API Calling Flow API Calling Flow is a Android library which can help you to simplify handling different conditions while calling an API (Web Service)

Rohit Surwase 19 Nov 9, 2021
Gesture detector framework for multitouch handling on Android, based on Android's ScaleGestureDetector

Android Gesture Detectors Framework Introduction Since I was amazed Android has a ScaleGestureDetector since API level 8 but (still) no such thing as

null 1.1k Nov 30, 2022
Use Android as Rubber Ducky against another Android device

Use Android as Rubber Ducky against another Android device

null 1.4k Jan 9, 2023
Android Utilities Library build in kotlin Provide user 100 of pre defined method to create advanced native android app.

Android Utilities Library build in kotlin Provide user 100 of pre defined method to create advanced native android app.

Shahid Iqbal 4 Nov 29, 2022
A util for setting status bar style on Android App.

StatusBarUtil A util for setting status bar style on Android App. It can work above API 19(KitKat 4.4). 中文版点我 Sample Download StatusBarUtil-Demo Chang

Jaeger 8.8k Jan 6, 2023
A logger with a small, extensible API which provides utility on top of Android's normal Log class.

This is a logger with a small, extensible API which provides utility on top of Android's normal Log class. I copy this class into all the little apps

Jake Wharton 9.8k Dec 30, 2022
Java implementation of a Disk-based LRU cache which specifically targets Android compatibility.

Disk LRU Cache A cache that uses a bounded amount of space on a filesystem. Each cache entry has a string key and a fixed number of values. Each key m

Jake Wharton 5.7k Dec 31, 2022
a simple cache for android and java

ASimpleCache ASimpleCache 是一个为android制定的 轻量级的 开源缓存框架。轻量到只有一个java文件(由十几个类精简而来)。 1、它可以缓存什么东西? 普通的字符串、JsonObject、JsonArray、Bitmap、Drawable、序列化的java对象,和 b

Michael Yang 3.7k Dec 14, 2022
gRPC and protocol buffers for Android, Kotlin, and Java.

Wire “A man got to have a code!” - Omar Little See the project website for documentation and APIs. As our teams and programs grow, the variety and vol

Square 3.9k Dec 31, 2022
✔️ Secure, simple key-value storage for Android

Hawk 2.0 Secure, simple key-value storage for android Important Note This version has no backward compatibility with Hawk 1+ versions. If you still wa

Orhan Obut 3.9k Dec 20, 2022
A robust native library loader for Android.

ReLinker A robust native library loader for Android. More information can be found in our blog post Min SDK: 9 JavaDoc Overview The Android PackageMan

Keepsafe 2.9k Dec 27, 2022
A lightning fast, transactional, file-based FIFO for Android and Java.

Tape by Square, Inc. Tape is a collection of queue-related classes for Android and Java. QueueFile is a lightning-fast, transactional, file-based FIFO

Square 2.4k Dec 30, 2022
Joda-Time library with Android specialization

joda-time-android This library is a version of Joda-Time built with Android in mind. Why Joda-Time? Android has built-in date and time handling - why

Daniel Lew 2.6k Dec 9, 2022
a SharedPreferences replacement for Android with multiprocess support

DEPRECATED - no longer actively maintained Tray - a SharedPreferences replacement for Android If you have read the documentation of the SharedPreferen

HCI @ gcx 2.3k Nov 17, 2022
OpenKeychain is an OpenPGP implementation for Android.

OpenKeychain (for Android) OpenKeychain is an OpenPGP implementation for Android. For a more detailed description and installation instructions go to

OpenKeychain 1.8k Jan 3, 2023
UPnP/DLNA library for Java and Android

Cling EOL: This project is no longer actively maintained, code may be outdated. If you are interested in maintaining and developing this project, comm

4th Line 1.6k Jan 4, 2023
WebSocket & WAMP in Java for Android and Java 8

Autobahn|Java Client library providing WAMP on Java 8 (Netty) and Android, plus (secure) WebSocket for Android. Autobahn|Java is a subproject of the A

Crossbar.io 1.5k Dec 9, 2022
:iphone: [Android Library] Get device information in a super easy way.

EasyDeviceInfo Android library to get device information in a super easy way. The library is built for simplicity and approachability. It not only eli

Nishant Srivastava 1.7k Dec 22, 2022
Collection of source codes, utilities, templates and snippets for Android development.

Android Templates and Utilities [DEPRECATED] Android Templates and Utilities are deprecated. I started with this project in 2012. Android ecosystem ha

Petr Nohejl 1.1k Nov 30, 2022