×

Discussion Board

Results 1 to 6 of 6
  1. #1
    Super Contributor
    Join Date
    Nov 2008
    Posts
    675

    'No Internet Connection' check

    Hi All,
    In my application data is continuously being updated to the server.
    So when due to network problems , when the internet connection is not working i want to update the UI to show the user that the data updation to server is not happening due to network problem.

    I feel the check if (aEvent.iStatus < 0) in MHFRunL may not suffice because the status could be negative for lots of reasons.

    I request for suggestions to handle this


    Regards
    Biju

  2. #2
    Registered User
    Join Date
    Feb 2007
    Location
    India
    Posts
    1,128

    Re: 'No Internet Connection' check

    Hi biju,

    Have a look RConnectionMonitor/MConnectionMonitorObserver API by use this API you can monitor active connection status. For more information look into SDK help.

  3. #3
    Super Contributor
    Join Date
    Nov 2008
    Posts
    675

    Re: 'No Internet Connection' check

    Thanks Kishore.. shall look in that direction

  4. #4
    Nokia Developer Expert
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,142

    Re: 'No Internet Connection' check

    wiki also has one example for the API: http://wiki.forum.nokia.com/index.ph...on_Example.zip

  5. #5
    Super Contributor
    Join Date
    Nov 2008
    Posts
    675

    Re: 'No Internet Connection' check

    Ok I implemented the RConnectionMonitor/MConnectionMonitorObserver

    In the EventL (const CConnMonEventBase &aConnMonEvent) method i receive
    Code:
     EConnMonConnectionStatusChange:
    			   {
    					// Some Implementation
    				   RDebug::Printf("Connection status has changed");
    				   break;
    			   }
    But how can i find out the exact current status. Like
    - Active
    -Inactive
    -On hold

    Regards
    Biju

  6. #6
    Nokia Developer Expert
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,142

    Re: 'No Internet Connection' check

    you could always try searching for any additional infomration that might be available, like this one: http://profile.iiita.ac.in/IIT200603...sion_s60_p.cpp

Similar Threads

  1. Replies: 6
    Last Post: 2010-12-26, 00:07
  2. problem in networking midlet (connection problems. check your internet/proxy settins)
    By omer.koylu in forum Mobile Java Networking & Messaging & Security
    Replies: 3
    Last Post: 2010-08-13, 15:16
  3. Would you like to Check your Gmails Without Internet Connection?
    By austin007 in forum News, Announcements and Job Listings
    Replies: 1
    Last Post: 2010-01-21, 06:05
  4. check for internet
    By arumilli in forum Symbian C++
    Replies: 1
    Last Post: 2008-08-08, 10:17
  5. Replies: 5
    Last Post: 2008-01-08, 15:17

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •