|
1 <?xml version="1.0" encoding="utf-8"?> |
|
2 <!-- Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies) All rights reserved. --> |
|
3 <!-- This component and the accompanying materials are made available under the terms of the License |
|
4 "Eclipse Public License v1.0" which accompanies this distribution, |
|
5 and is available at the URL "http://www.eclipse.org/legal/epl-v10.html". --> |
|
6 <!-- Initial Contributors: |
|
7 Nokia Corporation - initial contribution. |
|
8 Contributors: |
|
9 --> |
|
10 <!DOCTYPE concept |
|
11 PUBLIC "-//OASIS//DTD DITA Concept//EN" "concept.dtd"> |
|
12 <concept id="GUID-BB6C60B4-9D34-5AC0-A4FD-3B604A35B8BD" xml:lang="en"><title>Enabling |
|
13 the Bearer Mobility</title><prolog><metadata><keywords/></metadata></prolog><conbody> |
|
14 <p>This tutorial explains how to enable the bearer mobility for an email account. </p> |
|
15 |
|
16 <section><title>Required background</title> <p>Bearer mobility is possible |
|
17 only on the connections that are established using a SNAP preference list. |
|
18 See <xref href="GUID-24860917-0FE2-5C8F-B436-96928350996E.dita#GUID-24860917-0FE2-5C8F-B436-96928350996E/GUID-24BF7108-9229-5F0D-A3B0-27A8E419ABFF">Important |
|
19 considerations</xref> before enabling the non-seamless bearer mobility. </p> </section> |
|
20 <section><title>Procedure</title> <ol id="GUID-33FDAF89-19E8-59E5-8974-D000B18BE61D"> |
|
21 <li id="GUID-2C19A596-9FAE-588F-A2BC-2BE1BEF9C812"><p>Create an instance of |
|
22 the <xref href="GUID-A7EF08E6-82AF-3577-B942-ABD532EDB7FE.dita"><apiname>CEmailAccounts</apiname></xref> class. </p> </li> |
|
23 <li id="GUID-D576D44D-C006-527F-B9BC-9D518C9B94FE"><p>Create an instance of |
|
24 the <xref href="GUID-9CAB9BE5-7233-3A01-A906-756177CF4460.dita"><apiname>CImIAPPreferences</apiname></xref> class to be used by the email service. </p> </li> |
|
25 <li id="GUID-487865ED-E636-5724-B13A-1DDBBAD1AFE9"><p>Create an instance of |
|
26 the <codeph>CIm<protocol>Settings</codeph> class. </p> <p>Where, <protocol> |
|
27 is either Imap4, Pop3, or Smtp. </p> </li> |
|
28 <li id="GUID-A1118650-157A-530B-B724-145BCB23A865"><p>Populate the <xref href="GUID-9CAB9BE5-7233-3A01-A906-756177CF4460.dita"><apiname>CImIAPPreferences</apiname></xref> class |
|
29 and the <codeph>CIm<protocol>Settings</codeph> class from central repository |
|
30 (CenRep) using <xref href="GUID-A7EF08E6-82AF-3577-B942-ABD532EDB7FE.dita"><apiname>CEmailAccounts</apiname></xref> <codeph>::Load<protocol>IapSettingsL</codeph> function. </p> </li> |
|
31 <li id="GUID-B9239A82-DC25-5A91-BCDB-BF8BDD2710A1"><p>Use the <codeph>CIm<protocol>Settings::</codeph> <xref href="GUID-7E4A95AA-1614-3058-B08C-B81878C37489.dita"><apiname>SetBearerMobility</apiname></xref> function |
|
32 to set the <xref href="GUID-4B942C06-1BAC-3A21-B3B1-89FB5C51ADA0.dita"><apiname>TBool</apiname></xref> parameter to <codeph>ETrue</codeph>. </p> </li> |
|
33 <li id="GUID-ADB56EA1-FE9C-5C2F-875F-F12F4BFE94CD"><p>Store the updated settings |
|
34 classes to CenRep using the <xref href="GUID-A7EF08E6-82AF-3577-B942-ABD532EDB7FE.dita"><apiname>CEmailAccounts</apiname></xref> <codeph>::Save<protocol>IapSettingsL</codeph> function. </p> </li> |
|
35 </ol> <note> All instances of <protocol> in the preceding steps are either <codeph>Imap4</codeph>, <codeph>Pop3</codeph>, |
|
36 or<codeph> Smtp</codeph>.</note></section> |
|
37 <section><title>See also</title> <p><xref href="GUID-24860917-0FE2-5C8F-B436-96928350996E.dita">Bearer |
|
38 Mobility Overview</xref> </p> </section> |
|
39 </conbody></concept> |