PDA

View Full Version : Can QT application detect which type of connection is used?



satya@sipl
1st December 2012, 13:50
Hi all,

I have following doubts for network connection in QT application,-

can a QT-Symbian application detect which type of network connection is being used on the device e.g. 2G/3G/Wifi?

can the switching of network from "3G to Wifi" or "Wifi to 3G" hamper the application flow?


If the second condition is valid, then please suggest the solution for that.

Thank you all in advance for providing Support

anda_skoa
1st December 2012, 14:16
can a QT-Symbian application detect which type of network connection is being used on the device e.g. 2G/3G/Wifi?

QNetworkConfigurationManager should be able to help you with that.


can the switching of network from "3G to Wifi" or "Wifi to 3G" hamper the application flow?


Depends on the application. Different types of networks have different properties, e.g. bandwidth, latency. if the application depends on certain values then it will likely be effected. if it is just transferring data in the background it probably won't.

Cheers,
_