How detect offline mode?

Login to reply to this topic.
Sat, 2006-10-07 08:55
Joined: 2006-10-07
Forum posts: 7
Hi all  Smiley

I have one question to Symbian developers: "How detect offline mode in Smbian S60 (6,7,8) and Symbian UIQ (2,3)?". I found how do it on Symbian 9.1. Here is a link to this material -

http://forum.nokia.com/Technical_library/FNTL/Detecting_offline_mode.htm

Thanks for your advices
Best regards

Mon, 2006-10-09 14:10
Joined: 2005-08-08
Forum posts: 88
Re: How detect offline mode?
What do you mean by offline mode? Do you want a notification when a connection/interface has stoped or changed status? For symbian 7.0s you can get only interface related notifications fo 80 i haven't checked... Theoretically it should work for both... but it doesn't. Try using RConnectionMonitor and MConnectionMonitorObserver, see if it fits your needs.
Mon, 2006-10-09 14:58
Joined: 2006-10-07
Forum posts: 7
Re: How detect offline mode?
Hi dragos_t   Smiley

I want to be able to check whether phone is in offline mode before i called method Connect() on object of my class. I want to notify user that connection faild becose him phone is in offline(fly) mode. RConnectionMonitor class is published in S60 2nd Ed FP 2    however i need solution witch i will use on symbian 6,7,8,9 and UIQ2/3. Any ideas?

Regards
lab_retrox
Mon, 2006-10-09 16:29
Joined: 2005-08-08
Forum posts: 88
Re: How detect offline mode?
Well, RConnectionMonitor, is available for 7,8 and maybe 9, you also have RNifMan, on 6. Anyway, i don't think that you need them. Normally, a return code from Connect(), should give you a hint on why connection could not be started.
Mon, 2006-10-09 18:50
Joined: 2004-09-14
Forum posts: 140
Re: How detect offline mode?
use mobinfo - downloadable from the symbian website

CMobileNetworkInfo::GetCurrentNetwork returns KErrAccessDenied when in flightmode

Paul Todd

  • Login to reply to this topic.