diff -r 51a74ef9ed63 -r ae94777fff8f Symbian3/SDK/Source/GUID-A2F691C8-9525-4028-BF82-70E9D50630C6.dita --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Symbian3/SDK/Source/GUID-A2F691C8-9525-4028-BF82-70E9D50630C6.dita Fri Jun 11 12:39:03 2010 +0100 @@ -0,0 +1,51 @@ + + + + + +Prompting +the User to Select a Destination NetworkIf there is no connection specified in the connection setup and +no default connection has been defined, your application can +prompt the user to select the connection. +

To prompt +the user select the destination network:

+ +Start the connection +with RConnection::Start(ECommDbDialogPrefPrompt). RConnection +handle is returned to the application. + +The user makes a selection. A destination network is the preferred +selection, but the user can also select a specific access point with this +dialog. + +Link layer is now ready for the application. + +Send NewL(RConnection handle, MMobilityProtocolResp(). + The application can now use the mobility API, but if the user selected an +access point this has no meaning, because roaming cannot be used. For information +on how to start the connection through a destination network, see Starting +the connection through the destination network. + + +RSocketServ ss; + +// Connect to ESOCK +ss.Connect(); + +// Open an RConnection object. Note that you must provide an RSocketServ object +RConnection conn; +conn.Open( ss ); + +// Create overrides +TCommDbConnPref prefs; +prefs.SetDialogPreference( ECommDbDialogPrefPrompt ); + +// Start an Outgoing Connection with overrides +conn.Start( prefs ); +
\ No newline at end of file