MirakelX / mirakel-android

Easy task management for professionals
http://mirakel.azapps.de/
384 stars 117 forks source link

Use Android Accounts for Caldav sync #85

Closed einalex closed 10 years ago

einalex commented 11 years ago

There are some sync providers for caldav tasks like this: https://play.google.com/store/apps/details?id=org.dmfs.caldav.lib https://play.google.com/store/apps/details?id=org.gege.caldavsyncadapter

sourcode is on github: for the adapter: https://github.com/gggard/AndroidCaldavSyncAdapater and a client that uses the adapter: https://github.com/dmfs/tasks

itadventurer commented 11 years ago

Hey Alex, Thank you four your report (and your comment). I've answered on the comment. Please check it out.

CiaranG commented 11 years ago

Would you mind pasting the answer here too, for those of us who don't know where the comment is?

itadventurer commented 11 years ago

Yeah, of course. (hmm… now i must translate this in english)

In principle there is no problem to do this. But we cannot guarantee that we manage to do it till the next version. Also we will try to be compatible with the DavDroid. The other problem is, that most of the CalDav syncprovider don't recognize VTodo.

In fact: We are investigated in this issue but don't know exactly how and when we manage to resolve it. You are welcome to help us!

einalex commented 11 years ago

DavDroid doesn't support VTODO right now. the caldav sync adapter that I linked does support VTODO..so let's start with this adapter and perhaps implement the DavDroid version when/if they added VTODO/VJOURNAL support in a future version...I'd love to help out but I'm currently writing my second Bachelor thesis and am drowned in work...So no time for the time being (october and november)

weiznich commented 11 years ago

The problem with dmfs(the free Taskapp) is, that this isn't a syncadapter (for which we are looking). It's a contentprovider, which basicly means that you had to install the proprietary sync-adapter. In my opinion this shouldn't be the solution.

einalex commented 11 years ago

As far as I can tell this is the task app: https://github.com/dmfs/tasks

and this is the task provider: https://github.com/dmfs/task-provider that seems to be an application side wrapper for the communication to the actual syncing service/account/whatever that isn't open source yet. But it should make getting this to work a lot easier.

That not-open-source status seems to be a matter of time. The developer writes he is going to open source it once the code quality meets his standards and that he doesn't want to embarrass himself with bad code in public ( in front of possible customers). He also has open sourced the tasks app and the libs that uses so I think there is some evidence that he will actually deliver.

So options seem to be:

Bugsbane commented 11 years ago

when I try to set up caldav using an ownCloud 5 address I don't even get an error message. it just goes back to the screen with the sync toggle and turns the toggle off.

If something went wrong, there really needs to be an error message.

Bugsbane commented 11 years ago

Would it help to have a disposable ownCloud test user with a calendar and tasks set up? If so just say the word and I'll create one on one of my servers with ownCloud 5.0.12 you can try syncing with and destroy without concern.

itadventurer commented 11 years ago

Yeah, could you send us two accounts for your ownCloud (to mirakel@azapps.de)?

Baggypants commented 10 years ago

Has anyone asked the Davdroid community about the lack of VTODO? I can't see an issue open on their git page.

weiznich commented 10 years ago

see azapps comment some lines up Issue: https://github.com/rfc2822/davdroid/issues/34

sedgyfooting commented 10 years ago

there are a few *dav apps in the F-Droid repository which might be of interest. All apps in the repo have an open source license.

I have used martin's pro app to replace the default contact manager. It's excellent: shames the default app. (I'll buy a license for all contacts devices)

itadventurer commented 10 years ago

This should be fixed now with the new contentprovider