Please note that as of October 24, 2014, the Nokia Developer Wiki will no longer be accepting user contributions, including new entries, edits and comments, as we begin transitioning to our new home, in the Windows Phone Development Wiki. We plan to move over the majority of the existing entries over the next few weeks. Thanks for all your past and future contributions.
Talk:Getting contact info from default database
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
--11:39, 15 September 2009 (UTC)