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. Thanks for all your past and future contributions.
How to fetch an entry and set it in CAknSettingItem
Some time we may want to fetch some entry from some dialogs and set it in the setting item list. For example we may need to fetch a contact and set it in the settings page.
This can be done by first copying the text value to the settings data
//title is the descriptor which has been retrieved from the dialog.
and then calling the following code snippet
An example of how to fetch a contact and set it can be found in the link