Extended Connection Preferences API can be used by applications to open a connection based on user selection.
When an application chooses to establish a connection based on user selection, Connection selection dialog needs to be enabled. Only the SNAPs and IAPs matching with bearer set are displayed for selection.
RSocketServ ss; ss.Connect();
RConnection conn; conn.Open( ss );
TConnPrefList prefList; TExtendedConnPref preferences;
preferences.SetConnSelectionDialog( ETrue );
prefList.AppendL( &preferences );
conn.Start( prefList );
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License v1.0.