Namespaces
Variants
Actions
Revision as of 06:11, 20 March 2012 by hamishwillee (Talk | contribs)

Archived:First attempt to create Internet connection fails if default IAP changed on S60 1st Edition (Known Issue)

Jump to: navigation, search
Article Metadata

Tested with
Devices(s): Nokia 7650, Nokia 3650, Nokia N-Gage™ mobile game deck

Compatibility
Platform(s): S60 1st Edition

Article
Created: User:Technical writer 1 (August 26, 2003, updated February 17, 2004)
Last edited: hamishwillee (20 Mar 2012)

Overview

If the default (suggested) IAP is changed, first attempt to create an Internet connection fails.

Description

All APIs able to create an Internet connection (e.g., RSocket::Open(), RGenericAgent::StartOutgoing() or CIntConnectionInitator::ConnectL()) fail with an error code KErrAccessDenied at the first connection attempt. When creating an Internet connection, for example, using RGenericAgent::StartOutgoing(), a dialog pops up where all defined IAPs are listed and the default is highlighted. If an IAP other than the default is selected, KErrAccessDenied error code is returned. The problem exists even if the IAP is selected in the code without showing the dialog.

Solution

The problem can be handled by implementing a retry mechanism, which automatically tries to reconnect one or more times if KErrAccessDenied error code is returned.

143 page views in the last 30 days.
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved