Skip to content
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

No ICS import possible #1166

Open
imlinstress opened this issue May 24, 2022 · 8 comments
Open

No ICS import possible #1166

imlinstress opened this issue May 24, 2022 · 8 comments

Comments

@imlinstress
Copy link

I've downloaded a .ics calender but there is no way i can import it.

@RomanHauksson
Copy link

In your file manager, you should be able to bring up an "open with" dialogue to open the iCalendar file with Etar, which imports it for you.

@imlinstress
Copy link
Author

It looks like the .ics file is corrupted. I'm gonna have to try it with different file and see if it works.

@zemiacsik
Copy link

In your file manager, you should be able to bring up an "open with" dialogue to open the iCalendar file with Etar, which imports it for you.

It seems to import just the first event for me.

@TOMats3
Copy link

TOMats3 commented Jul 18, 2022

Bulk import (and export) is a Work in Progress.
See: #653

@rparkins999
Copy link
Contributor

I have code to do bulk import, but it required a fairly major rewrite of the import logic, and a way to pass a whole lot of events to the event editor one at a time. I did that by using an app-global FIFO, which is normally empty. When the event editor is created (in this situation by the import logic), it pulls events out of the FIFO and presents them to the user one at a time for acceptance or rejection.

@hueldoeu
Copy link

In your file manager, you should be able to bring up an "open with" dialogue to open the iCalendar file with Etar, which imports it for you.

It seems to import just the first event for me.

i have to same problem. my ics-link is https://api.fokus-tierwohl.de/fokus-tierwohl/api/v1/veranstaltungs/icalendar

i use the huawei calender to import the ics-file

@rparkins999
Copy link
Contributor

If you are using the Huawei calendar, improvements to Etar-calendar won't help you. Most Android calendars are derived form the original open source Google code, which didn't support importing multiple events from an ICS file, and it's quite difficult to modify it to do so as described in my earlier comment. If you want to import multiple events from an ICS file, your best bet is either to download rparkins999/Etar-Calendar, which will do it for you, or if your Android calendar is synchronised with a PC calendar, import your ICS file into that (most PC calendars will import multiple events from an ICS file) and then synchronise.

If you are using multiple calendar apps on your Android device, take care not to have more than one of them active at a time. Most calendar apps will cache some data internally, and saving cached data from different apps can cause calendar corruption. The underlying Sqlite library used by Android can support atomic transactions, which could avoid this problem, but the Android API doesn't. It pipes all Sqlite requests though a single background server process in order to avoid blocking the UI thread, so the Sqlite library, which uses the process ID to identify different clients, can't tell which requests belong to which client's transaction.

@hueldoeu
Copy link

If you are using the Huawei calendar, improvements to Etar-calendar won't help you. Most Android calendars are derived form the original open source Google code, which didn't support importing multiple events from an ICS file, and it's quite difficult to modify it to do so as described in my earlier comment. If you want to import multiple events from an ICS file, your best bet is either to download rparkins999/Etar-Calendar, which will do it for you, or if your Android calendar is synchronised with a PC calendar, import your ICS file into that (most PC calendars will import multiple events from an ICS file) and then synchronise.

If you are using multiple calendar apps on your Android device, take care not to have more than one of them active at a time. Most calendar apps will cache some data internally, and saving cached data from different apps can cause calendar corruption. The underlying Sqlite library used by Android can support atomic transactions, which could avoid this problem, but the Android API doesn't. It pipes all Sqlite requests though a single background server process in order to avoid blocking the UI thread, so the Sqlite library, which uses the process ID to identify different clients, can't tell which requests belong to which client's transaction.

so far my system works. as i said, i use huawei calender only to import multiple events from a ICS file (usually huawei software is junk, like their smartphones).

couldn't find rparkins999/Etar-Calendar so far.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants