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

WIP: New ICS import/export #653

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

dschuermann
Copy link
Contributor

@dschuermann dschuermann commented Feb 9, 2020

This will be the new ICS import/export functionality. It uses ical4android developed by the Davx5 developers.

Hopefully I can retire https://github.com/SufficientlySecure/calendar-import-export afterwards.

  • First ugly hack to import ICS file into calendar
  • Import ICS file with multiple entries into an existing calendar
  • Export full calendar as ICS file
  • Use release tag of ical4android. Related MR on Gitlab
  • Remove old com.android.calendar.icalendar package
  • Use ical4android for single event export + share button
  • Imort ICS files via intent filter

Out of scope:

  • Automatic sync of ICS resources on the Internet. There is ICSx5 for that. (maybe mention it inside Etar?)

@jtrees
Copy link

jtrees commented Jun 15, 2020

Are you still working on this?

@ZarVladimirII
Copy link

How´s the status of implementation?

@dschuermann
Copy link
Contributor Author

Currently not working on this due to time constraints.

@ioctl-user
Copy link

ioctl-user commented Dec 31, 2020

It's very useful feature for backup and restore without internet accounts. Could you fix and accept it?

@thiesw
Copy link

thiesw commented Jan 23, 2021

Maybe this is helpful for this feature:
I enhanced the CalenderImportExport with support for (locally) deleted events and event colors.
SufficientlySecure/calendar-import-export#91
Feel free to incorporate the relevant parts of it into this project.

@Erz3
Copy link

Erz3 commented Jan 25, 2021

Please, would be nice I you could still working to implement export/import all events fron a local account.

This is a very important feature, specially to people that just work with local account, like me. Obviusly I don, use Etar to sync with Google, that would be stupid 😅.

@thiesw
Copy link

thiesw commented Jan 25, 2021

For anyone needing this functionality right now, the app CalenderImportExport exists, see also https://github.com/SufficientlySecure/calendar-import-export.
The last version has some errors, see pull request by me above.
I offer the compiled APK with these changes:
https://it-tw.de/android/CalendarImportExport-v27tw.apk
(I added no malicious code, but use on your own risk anyway; the APK is signed with a not listed signature at Google Play, so you'll get a warning; you will need to uninstall the previous "official" version first, because of a signature change).

@tokariu
Copy link

tokariu commented Mar 2, 2021

@thiesw I tried installing your compiled apk on android 10, but it says there was an error parsing the apk, I cannot install.

I'm currently stuck importing an offline calendar from an old phone to a new phone. there is no way to do that offline with files. the old offline import/export app is not working correctly, I have single events imported multiple times and errors like that.

please, anybody who can review and update this app and functionality, help!

@thiesw
Copy link

thiesw commented Mar 2, 2021

@tokariu I just tried "my" apk (on an android 8 device) and it works fine. It is an apk build by official Android Studio. But it is just signed by a self-created signature that is not registered at Google Play - maybe your device has some security settings prohibiting such installs? Look for yourself.
Another possibility if you already have an exported calendar: Install a Nextcloud instance (it's free and quite easy, maybe your DSL provider even offers PHP hosting, that would be enough) and import the calendar there and sync it with your device.

@ZarVladimirII
Copy link

@tokariu if you don´t mind to connect to a PC you can use backup software.
MyPhoneExplorer was fine to import me *.ics files, because Etar and simplemobiletools couldn´t.

@rekweststory
Copy link

This change is referenced in many other reports, but it seems that the merging is blocked. What needs to happen for this to go live?

@Gitsaibot
Copy link
Contributor

This change is referenced in many other reports, but it seems that the merging is blocked. What needs to happen for this to go live?

We must hope that dschuermann has some time to finish programming the new import/export. Then nothing more stands in the way of merging. By the way...WIP= Work in Progress. In this case it's a long way ;)

@sergih123
Copy link

Are there any updates regarding this?
Also, just out of curiosity, what are the main problems with implementing it?

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

Successfully merging this pull request may close these issues.

10 participants