Tuesday Aug 04, 2009

More CalDAV enabled phones... starting with Symbian ?

The iPhone might be the first CalDAV enabled phone but hopefully, it won't be long before other start to appear.

My colleague Maximilian Odendahl has been working on a CalDAV provider for the native Symbian OS Calendar application for a few months now.

He started with a standalone application that syncs up one or more CalDAV accounts using the native Calendar database API (using WebDAV Sync when appropriate).

This is already working great. Here is a screenshot of the native Calendar application, showing events pulled from our hosted preview server:



Now that Sun Microsystems has joined the Symbian foundation, Max will be able to fully integrate his CalDAV provider into the native application, for example to allow direct configuration of an account (image below is still a mockup):


More info on his work at http://developer.symbian.org/wiki/index.php/CalDav.

(Can't resist to mention that after testing his client against 8 different servers, he found the next generation Sun Calendar Server to be the most standard compliant ...)

Thursday Jun 18, 2009

Setting up a demo CalDAV account on iPhone OS 3.0

As you probably know, the new iPhone OS 3.0 is CalDAV enabled.

The default configuration panel is very simple (server name, user name, password), but it makes some assumptions that may be valid for a production system but not for a demo server:

  • use of standard ports (443 or 80),
  • ssl is the default,
  • the account url follows a fixed pattern: http(s)://<server name>/principals/users/<user name>/

Demo servers usually run on non standard port numbers and they do not always own the full namespace, leading to account urls (actually principal url) that look more like :

http://caldav.example.com:3080/davserver/dav/principals/<user  name>/

Typing this kind of url can be very tedious and error prone, especially given that the advanced configuration panel offers just a tiny text box.

Here is the simplest way that I have found so far to make the process a little bit less painful, assuming that you have a mail account configured already.

1) email the principal url to yourself

... from your regular desktop/laptop email client of course. Check that the url is valid (using a regular browser) before sending it.

The principal url will vary from servers to servers. It is the same that you may have configured if you are using the Apple iCal client (iCal --> Preferences --> Accounts --> <your CalDAV account> --> Server Settings --> Account URL).

2) copy the url from the iPhone Mail App

Go to the iPhone Mail App and open the email.

Press and hold on the url in the message.

You should be asked whether you want to Open or copy the link:

Select copy.

3) go to the CalDAV account creation panel

Settings --> Mail, Contacts, Calendars --> Add Account... --> Other --> Add CalDAV Account

4) Enter the server info

Tap on the Server field. A "Paste" button should appear on top of the text field:

Press on "Paste". The full url is shown:

This is the only trick, really: the client accepts a full url in the server name field.

5) Enter the User Name and password

Go to the User Name field. The full principal url is replaced by the server name only. This is OK:

Finally, enter your password and tap "Next" --> the client indicates "Verifying CalDAV account", then "Account verified".

You can now go to the Calendar application.


About

arnaudq

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today
Bookmarks