Skip to content

CalDAV Sync #120

Closed as not planned
Closed as not planned

Description

@cbix

CalDAV synchronization of notes/todos would be an awesome feature. CalDAV works with VEVENT/VTODO standards so we need a parser first…

Activity

  1. spacecowboy commented on May 11, 2012

    @spacecowboy
    Owner

    That could be interesting yes. If used for Google Calendar I guess it would conflict with GTasks. Have no idea how they integrate that in the calendar. But it would be an interesting replacement.

    The relevant code is located at https://github.com/spacecowboy/NotePad/tree/master/src/com/nononsenseapps/notepad/sync
    where all the code for Google's API is somewhat separated.

  2. cbix commented on May 11, 2012

    @cbix
    Author

    It should be possible to provide multiple Sync Adapters, so the user may setup 2 GTask and 3 CalDAV accounts and still gets everything synchronized. Maybe later we can also implement the Tomboy web API into another adapter for synchronizing notes with Snowy, Ubuntu One etc...

  3. nononsense commented on Nov 28, 2012

    @nononsense

    Implementing this (Export to and Import from MS Outlook) will give option to people who want to backup ONLY in their laptop and not the cloud, for example for security reason. They should be able to chose what the sync icon will trigger in the setting menu - whether it sync with google task in the cloud, or txt file(s) inside the same mobile phone, or MS Outlook in the laptop, etc.

  4. nodiscc commented on May 7, 2013

    @nodiscc

    If used for Google Calendar I guess it would conflict with GTasks

    For your information, Google has shut down public CalDAV access (http://googleblog.blogspot.de/2013/03/a-second-spring-of-cleaning.html) so this shouldn't be a problem anymore.

    CalDAV is a serious candidate for a google sync alternative (issue #183)

  5. spacecowboy commented on May 8, 2013

    @spacecowboy
    Owner

    I have begun preliminary work on a dropbox alternative. As a natural side effect, export/import to file will be available as well.

  6. nodiscc commented on May 8, 2013

    @nodiscc

    @spacecowboy good to hear you are working on it. Will this be a plain text export feature (issue #184 - write-only) or a text file backend (issue #220 - read/write from text files?).

    Asking this because I (and other people) am using ownCloud which is a personal cloud storage solution. There are 2 supported backends for notes/tasks in ownCloud, namely text files and CalDAV. A write-only text file backend will not allow synchronisation from owncloud.

    Sticking to a Dropbox-only export solution will not solve privacy/security issues.

    Thanks for your work on this app 👍

  7. spacecowboy commented on May 8, 2013

    @spacecowboy
    Owner

    Nothing's been implemented yet but the way I am envisioning it is a read-write solution. I have mainly thought about the dropbox case but it's just files so the same goes for files on the sdcard. Anyway, the idea is that lists are saved as folders and notes are saved as .txt files in the folders.

    Does ownCloud offer you a way to sync any files on your Android device?

  8. nodiscc commented on May 8, 2013

    @nodiscc

    Does ownCloud offer you a way to sync any files on your Android device?

    Yes basically owncloud file sync works just as dropbox, it allows you to select files to keep in sync between android and the server. Owncloud's notes component just stores notes as txt files in the Notes subdirectory.

    You can only sync files/dirs that are within the app's data directory, so it's necessary to have the ability to select NotePad's storage directory.

    https://play.google.com/store/apps/details?id=com.owncloud.android

  9. spacecowboy commented on May 9, 2013

    @spacecowboy
    Owner

    You can't store files in another apps data dir without root so being able
    to select the location won't help you. both apps would need to be able to
    select the location.

    for local files, they will be stored in the sdcard location

    /Jonas
    On May 9, 2013 1:37 AM, "nodiscc" [email protected] wrote:

    Does ownCloud offer you a way to sync any files on your Android device?

    Yes basically owncloud file sync works just as dropbox, it allows you to
    select files to keep in sync between android and the server. Owncloud's notes
    component https://github.com/owncloud/notes/ just stores notes as txt
    files in the Notes subdirectory.

    You can only sync files/dirs that are within the app's data directory, so
    it's necessary to have the ability to select NotePad's storage directory.

    https://lh4.ggpht.com/eKMJ8xdNan-rbacPJy1Dmj5yeot9uFa7Q-McfowcDclVrIAKu0LnJfQcAGkGRmKWyAhttps://lh4.ggpht.com/K9rDRfcWaujH0aQUf_X_FlO8Thjlhp7GJh2WOZmeTKSjngBenUyDDKXI0oG9iT_Hyo4

    https://play.google.com/store/apps/details?id=com.owncloud.android

    —
    Reply to this email directly or view it on GitHubhttps://github.com//issues/120#issuecomment-17640917
    .

  10. nodiscc commented on May 15, 2013

    @nodiscc

    Mmh maybe saying "data" directory is inaccurate. Owncloud app stores synced files in /sdcard/owncloud/account_name/. I can create files there without root access from any other app. It's not in the /data/ directory if you mean this.

  11. spacecowboy commented on May 15, 2013

    @spacecowboy
    Owner

    Ah, then I misinterpreted you. There would be no problem saving files anywhere in the sdcard dir.

  12. spacecowboy commented on Aug 8, 2013

    @spacecowboy
    Owner

    @nodiscc Thanks for the tip about sendtosd. I am even more committed to implement a filesync now because of Bittorrent Sync which is another dropbox based alternative like ownCloud.

  13. dschuermann commented on Aug 26, 2013

    @dschuermann
  14. changed the title [-]VTODO/CalDAV Sync[/-] [+]CalDAV Sync[/+] on Jul 23, 2015
  15. CampelloManuel commented on Jan 11, 2023

    @CampelloManuel
    Collaborator

    I will download some calendar apps from f-droid and see what we can do to implement some sort of calendar sync with the available technology

    Notes to self:

    A full example

    Then it's just a matter of choosing how to implement it

  16. added
    secondary
    on Jan 11, 2023
  17. CampelloManuel commented on Jan 11, 2024

    @CampelloManuel
    Collaborator

    I found https://manual.davx5.com/introduction.html which explains how we should setup CalDAV in the app.

    Basically we need to interface with the android calendar provider, and then apps like "DAVx5" ( https://f-droid.org/it/packages/at.bitfire.davdroid/ ) will synchronize the android calendar to a server.

    Since an interface with the android calendar provider is already tracked in #513 this issue is outdated

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    secondary

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions