Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>What you want is the example code from the relevant chapter of the <a href="http://www.quickrecipesonsymbianos.com" rel="nofollow noreferrer">Quick recipes on Symbian OS</a> book, which you can find <a href="http://developer.symbian.org/wiki/index.php/File:Quick_Recipes_on_Symbian_OS_Contacts_and_Agenda_Example_Code.zip" rel="nofollow noreferrer">here</a>.</p> <p>EDIT-1:</p> <p>Should have read the question more carefully.<br><br> The <code>CContactDatabase</code> API should synchronize with the SIM Phonebook seamlessly by using <code>RPhoneBookSession</code> so you don't have to.<br><br> To figure out what's wrong, I would suggest calling <code>RPhoneBookSession::GetLastSyncError</code>, <code>RPhoneBookSession::GetPhoneBookCacheState</code> and <code>RPhoneBookSession::GetSyncMode</code>.<br><br> I would also suggest doing all this both before and after adding a new <code>CContactICCEntry</code> to the database yourself.</p> <p>Of course, this is all supposing Nokia didn't just brutally disable Phonebook synchronization...</p> <p>EDIT-2:</p> <p>If Nokia disabled Symbian's phonebook synchronization, they may have replaced it with their own, which would mean that using the <code>CPbkContactEngine::AllContactsView</code> method could yield different results than the <code>CContactDatabase</code> approach.</p> <p>Let's face it, though. If the Contacts application provided with the phone doesn't even allow you to save a contact on the SIM, Nokia may have removed all possibilities to interact with the SIM phonebook period.</p> <p>EDIT-3:</p> <p>You could try to develop against phbksyncsvr.lib using the binaries in the <a href="http://developer.symbian.org/main/make_phone/index.php" rel="nofollow noreferrer">Product Development Kit (PDK)</a> from the first real version of the Symbian Foundation operating system: Symbian^2. Binary compatibilty between versions of Symbian OS can sometimes help you.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload