Skip to content

Importing Existing Tasks

Jesse Sivonen edited this page Apr 13, 2018 · 15 revisions

The preferred way to import data from iCalendar files is by using a desktop client or the web front-end of the server (if possible).

Usually you already have the file on your desktop PC and importing them on your mobile device can be a workaround.

Post your experiences of different combinations below.

  1. Do some research, check that this guide is not obsolete (2018-04-13).

    If there are better options. Write them down.

  2. Install CalDAV server, Radicale to the server / slave device.

  3. Install required client(s) to the client / master device.

  4. Start Radicale.

  5. Login to the web UI at http://localhost:5232

  6. Add a collection for testing.

  7. Do reverse port-forwarding with ADB to get around firewalls and other restrictions for the first try.

    adb reverse tcp:5232 tcp:5232
  8. The steps here onward assume you chose to install CalDAV-Sync, because it works, at the moment of writing, out of the box. Although it can be a little buggy. DAVDroid was originally tested and wasn't successful in integrating with other Android applications and services. Also default configuration.

  9. Continue by opening CalDAV-Sync application.

  10. Add CalDAV account.

  • Server name or URL : http://localhost:5232
  • Use SSL : No
  • User name : anything but empty
  • Password : anything but empty
  1. Select the test collection for synchronization.

  2. Now we are talking... literally.

    If you came this far without getting caught to any issues, you have successfully made a connecting with CalDAV-Sync and Radical, Android phone and Linux desktop (assumably).

  3. Now the created collections should be visible to Radical web client as well as to OpenTasks.

  4. If so, congratulations!

  5. Finalizing the setup: opening the ports, autostart, configuring auto-sync, etc. is heavily different on different systems and setups, so I leave them to you. Or someone can try to write them down. I'm done.

Test results

This method was tested 2018-04-13 with Linux Mint 18.1, 64-bit, Linux 4.5.7-generic and Google LG Nexus 5X with a modified Android 7.1.2, N2G48C. Using Google Play as application source.

  1. Successfully followed the guide.
  2. Created a fully featured task in OpenTasks which was successfully synchronized to Radical.
  3. Deleted the CalDAV account. -> Task and collection vanished from the device.
  4. Re-added the same CalDAV account. -> After timed sync the test task was fully restored.

Using J-Pilot until now

Palm & J-Pilot on Linux desktop via Kontact -> ownCloud, Android Tasks & Kontact

In J-Pilot

  1. in File / Preferences / ToDo decide if you want to Hide Completed ToDos to make a smaller file by potentially skipping completed entries upon export.
  2. in the ToDo List, select File / Export as iCaldendar
  3. remember where you save the .ics file

In Kontact

(while I use Kontact, any application that can access the ownCloud data and import iCalendar files should be OK)

  1. in the To-do List view, select File / Import / Import Calendar...
  2. select the file you saved in the previous step
  3. I strongly suggest you import into a separate Calendar until Android Tasks and CalDAV-Sync are out of beta. The former displays multiple ToDo lists just fine and it's a lot easier if you can delete a whole calendar full of an failed ToDo test without affecting your calendar entries.

In Android Tasks

import the calendar after your desktop application has finished the import and synced to the ownCloud backend. The easiest way to check this of for you to log into your ownCloud web interface and switch to the Tasks app.

import via Evolution

finding myself unable to multi-select tasks in Kontact (for deletion, but maybe I just operated Kontact wrong), I had a brief try with Evolution. But on import, not all of of my 360ish Tasks seem to have made it in . Plus I found it's offered level of task priorities too short. So I went back to Kontact.

If you bothered to make an import into Evolution and were successful, please update this section.