Well written article, though I have small comments:
Default detabase can be open using OpenL() without any param, therefore the following code
CContactDatabase* contact_db; TBuf<60> dbFile; //gets default contact database file CContactDatabase::GetDefaultNameL( dbFile ); //opens default contact database file TRAPD(err, contact_db= CContactDatabase::OpenL(dbFile));
can be simplified.
Code duplication at the end of the article is quite confusing. It doen't give you extra information and I think it should be removed
--Pirosl 11:39, 15 September 2009 (UTC)