Details
-
Bug
-
Resolution: Cannot Reproduce
-
Not Evaluated
-
None
-
1.0.0
-
None
-
S60 Symbian
Description
This offline issue came up when testing development app. Tested with fetchgooglemaps mobility API example and got similar behaviour.
Tested with s60 n97 and 5539 express music.
Seems that call to QNetworkSession::open() fails with QNetworkSession::InvalidConfigurationError, even If I have Wlan accesspoint set.
Took a look to mobility source (qnetworksession_s60_p.cpp) and found these lines are causing the error:
// If opening a undefined configuration, session emits error and enters
// NotAvailable -state. Note that we will try ones in 'defined' state to avoid excessive
// need for WLAN scans (via updateConfigurations()), because user may have walked
// into a WLAN range, but periodic background scan has not occurred yet -->
// we don't want to force application to make frequent updateConfigurations() calls
// to be able to try if e.g. home WLAN is available.
if (publicConfig.state() == QNetworkConfiguration::Undefined)
Call to QNetworkSession::open() worked in mobility API 1.0.0 beta.