October 10, 2010

rpereira rpereira
Lab Rat
2 posts

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?

4 replies

October 17, 2010

anselmolsm anselmolsm
Ant Farmer
417 posts

Hm… I read regarding Bearer types in Qt 4.7 [doc.qt.nokia.com] and Qt mobility [doc.qt.nokia.com] docs and could not find references about WAP.

Which of the listed bearers handle WAP? (Does this question make sense?)

 Signature 

Anselmo L. S. Melo (anselmolsm)
www.anselmolsm.org

October 18, 2010

rpereira rpereira
Lab Rat
2 posts

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.

anselmolsm wrote:
Which of the listed bearers handle WAP? (Does this question make sense?)

WAP apns are handled just like other internet apns. In my case, WCDMA.

October 18, 2010

Tobias Hunger Tobias Hunger
Mad Scientist
3156 posts

Have you considered filing a bugreport [bugreports.qt.nokia.com]?

October 18, 2010

rpereira rpereira
Lab Rat
2 posts
Tobias Hunger wrote:
Have you considered filing a bugreport [bugreports.qt.nokia.com]?

Thanks, will do that.

Update: Seems someone already posted about it. http://bugreports.qt.nokia.com/browse/QTBUG-11016 [bugreports.qt.nokia.com]

 
  ‹‹ [Solved] MeeGo Touch Framework. MList scrolling.      [Solved] adding QextSerialPort to a project ››

You must log in to post a reply. Not a member yet? Register here!