orgzly / orgzly-android

Outliner for taking notes and managing to-do lists
https://www.orgzly.com
GNU General Public License v3.0
2.68k stars 305 forks source link

Calendar support #57

Open dstrelnikov opened 7 years ago

dstrelnikov commented 7 years ago

Good day!

Is it possible to add calendar support feature? I mean that app create a separate local calendar on my smartphone, which can be displayed in any calendar app. I like its realization in Simpletask Cloudless. If I set a due date or a trashold date for todo item that this item will displayed in a calendar.

Sorry for my bad English =)

dstrelnikov commented 6 years ago

So, if somebody is interested with it, now I'm using Emacs Org-mode -> Export to iCalendar -> rsync -> ICSdroid to view a local .ics file in a calendar app.

It works and it follows unix-way but not so convinient as it may be.

I think that Issue #235 is not very relevant to my request. As I know, Simple Task app, which works with todo.txt, uses Android Calendar Storage API for creating events in a separate local calendar, which may be shown in any calendar app. It doesn't use third-party proprietary services.

I'm not Android programmer but I'm ready to be useful if there is something that I can do.

It looks like such feature in Simple Task contains in this file.

tuvok commented 6 years ago

Is there a chance this will ever get done? ;) Is this feature a lot of work?

rrrnld commented 5 years ago

I second this. Would be super cool to have

reyman commented 5 years ago

An interesting candidate would be EteSync, an issue is already posted here : https://github.com/etesync/android/issues/87

rrrnld commented 4 years ago

I just wanted to note there's also already https://github.com/dengste/org-caldav for doing caldav integration. Maybe that could be looked at for compatibility?

larkery commented 4 years ago

I have hacked this together: https://github.com/larkery/orgcal which does this, but not within orgzly. I use it alongside orgzly which is ok

It's not too complicated, once you've got the mad android calendar API down, but does require some kind of ID for entries to make synchronization possible.

alensiljak commented 2 years ago

Some great tips here. While creating a direct calendar provider that serves a saved query would be great, a workaround might be exporting ICS in Termux (https://orgmode.org/manual/iCalendar-Export.html) and serving it through ICSx5

alensiljak commented 2 years ago

If relying on ICSx5, all that would be needed for this functionality is an ICS export in the search results (i.e. Agenda). Remembering the location and using the query name for the file would provide a source to be read by ICSx5.

cpchan commented 2 years ago

Native calendar support would be nice. In the mean time I am using this:

https://github.com/myuhe/org-gcal.el

which will update google calendar every time you save an agenda file and when opening an agenda view on the desktop. It allows you to use any android calendar app for viewing.

hgkamath commented 2 years ago

First thankyou for orgzly-android, a great app which opens the org-mode organization system to non-emacs users.

penning my 2-cents thoughts,

Given the format/feature differences between ical & orgmode, I believe 2-way-full-round-tripped-ical-sync would be asking too much. As entries have IDs, they will need to tracked/managed while being processed. Its great if its doable.

What if the following was possible, two independent one-way-syncs, which could be a stepping stone before someone figures out how to do 2-way-full-round-tripped-ical-sync ...

This could be either done in-app or as a companion app or companion background process that monitors and notified by change in file-modified-time of ical files, or as MisterY suggested in earlier comment, using direct-Calendar-providers.