-
Bug
-
Resolution: Invalid
-
P3: Somewhat important
-
None
-
4.7.1
-
None
-
SDK:S60, 92_201045_hw79, ps2; C6-01; qt-mobility-symbian-1.1.0-symbian3.sis
I've modified http example(C:\Qt\2010.05\qt\examples\network\http) , tying to enable roaming on Symbian 3 device.
But I found that roaming from WLAN to GPRS failed.
Steps:
1.Press "Download" button in WLAN available area.
2.After download succeeded, walk to WLAN uncovered area.
3.Press "Download" button.
Actual result:
GPRS is connected.
But, "Download failed:Host qt.nokia.com not found." is shown .
Expect result:
GPRS is connected. Download succeed.
I've added such code into the example:
void HttpWindow::startRequest(QUrl url) { //add-start QNetworkConfigurationManager manager; QNetworkConfiguration cfg = manager.defaultConfiguration(); qnam.setConfiguration(cfg); //add-end reply = qnam.get(QNetworkRequest(url)); connect(reply, SIGNAL(finished()), this, SLOT(httpFinished())); connect(reply, SIGNAL(readyRead()), this, SLOT(httpReadyRead())); connect(reply, SIGNAL(downloadProgress(qint64,qint64)), this, SLOT(updateDataReadProgress(qint64,qint64))); }
//in http.pro
symbian: {
TARGET.CAPABILITY += NetworkServices \
ReaduserData
}