Hi,
In my feature, I need to report the internet connection status (whether the device is connected to Internet). Is there any API in Symbian OS to monitor the internet connection status?
Thanks!
Hi,
In my feature, I need to report the internet connection status (whether the device is connected to Internet). Is there any API in Symbian OS to monitor the internet connection status?
Thanks!
Connection monitor API might be the one for that, you could maybe try out the wiki example to see whether it works for your use case: http://wiki.forum.nokia.com/index.ph...on_Example.zip
Thanks for the information
But the example code used S60 ConnectionMonitor server. I don't want to depend on S60 code. Is there any Symbian OS API can do the similar thing?
S60 is Symbian, and I don't think the API used in that example would be S60 specific, so do check again..
RConnection apis EnumerateSubConnections(TUint& aCount) may be useful..
RConnectionMonitor could be another alternative for this.
Thank you all for the help on this!
I don't want to use RConnectionMonitor, because it could cause some dependency issue.
I checked the RConnection Class and decide to use Ronnection::EnumerateConnections and connection::AllInterfaceNotification to do this.
If I am wrong, please correct me.
What is the dependency issue you are worried about ?
I am using symbian CBR which does not include S60 stuff. To make sure my code can be compiled and tested, I don't want to invoke the S60 APIs.