-
-
Notifications
You must be signed in to change notification settings - Fork 157
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CalDAV Sync #120
Comments
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 |
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... |
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. |
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) |
I have begun preliminary work on a dropbox alternative. As a natural side effect, export/import to file will be available as well. |
@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 👍 |
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? |
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 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 |
You can't store files in another apps data dir without root so being able for local files, they will be stored in the sdcard location /Jonas
|
Mmh maybe saying "data" directory is inaccurate. Owncloud app stores synced files in |
Ah, then I misinterpreted you. There would be no problem saving files anywhere in the sdcard dir. |
@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. |
To integrate with Marten Gadja's Caldav-sync apps you could implement the tasks provider: https://github.com/dmfs/task-provider It is used by his tasks app: https://github.com/dmfs/tasks |
SD-card sync is implemented. See https://github.com/spacecowboy/NotePad/releases/tag/5.3-beta |
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 |
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 |
CalDAV synchronization of notes/todos would be an awesome feature. CalDAV works with VEVENT/VTODO standards so we need a parser first…
The text was updated successfully, but these errors were encountered: