WAP Apn not working
-
Hello
I'm developing an application in Qt 4.6.3 for Symbian that communicates with a server via HTTP. When using wifi or a normal Internet Apn, the application runs fine. However, using a WAP apn, I don't get any traffic communicating, neither get or post methods. The same is observed when using the WAP apn with the weather and traffic examples.
I've even tried setting the proxy in QNetworkAccessManager manually but no luck.
I know the apn can be used because I have a Symbian C++ application that also uses HTTP via the WAP apn and it works fine. Even the browser can use the apn without problems. Only Qt applications don't seem to work with the WAP apn.
Any suggestions or ideas to what might not be working? Or a workaround?
-
Hm... I read regarding Bearer types in "Qt 4.7":http://doc.qt.nokia.com/4.7/qnetworkconfiguration.html#bearerType and "Qt mobility":http://doc.qt.nokia.com/qtmobility-1.1.0-beta2/qnetworkconfiguration.html#bearerName docs and could not find references about WAP.
Which of the listed bearers handle WAP? (Does this question make sense?)
-
Well I seem to have found the problem.
It seems that Qt for Symbian does not handle well Apn with proxies. And by not handling well I mean not handling at all.
The solution I found was to query the Apn database in Symbian C++ to get the proxy and set it in the QNetworkAccessManager manually.
Personally, this is a bit annoying as I was trying to avoid putting Symbian C++ code as it messes with cross platform compatibility.
[quote author="anselmolsm" date="1287273784"]Which of the listed bearers handle WAP? (Does this question make sense?)[/quote]
WAP apns are handled just like other internet apns. In my case, WCDMA.
-
Have you considered filing a "bugreport":http://bugreports.qt.nokia.com/?
-
[quote author="Tobias Hunger" date="1287394890"]Have you considered filing a "bugreport":http://bugreports.qt.nokia.com/?[/quote]
Thanks, will do that.
Update: Seems someone already posted about it. "http://bugreports.qt.nokia.com/browse/QTBUG-11016":http://bugreports.qt.nokia.com/browse/QTBUG-11016