Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Jul 2013

    How to check internet connection using symbian web runtime


    How can i check the internet connection using symbian web runtime currently i am using following code but it allways shows as error even if the internet connection available.Please give code
    var connectionMessage = "Your device have internet connection.";
    var noConnectionMessage = "Ohh! It seems that your device dont have internet connection.";
    window.onload = checkInternetConnection;
    function checkInternetConnection() {
    var isOnLine = navigator.onLine;

    if (isOnLine) {

    } else {

  2. #2
    Registered User
    Join Date
    Oct 2013

    Re: How to check internet connection using symbian web runtime


    the system fires events if a connection is established or breaks:
    window.ononline = function(){alert("Connected!")};
    window.onoffline = function(){alert("Disconnected!")};
    Maybe this solves your problem.

Similar Threads

  1. Check Internet Connection on S40 Platform
    By redbeanteam in forum Mobile Java Networking & Messaging & Security
    Replies: 13
    Last Post: 2013-07-02, 01:01
  2. Replies: 6
    Last Post: 2010-10-14, 16:20
  3. 'No Internet Connection' check
    By chandran.biju007 in forum Symbian
    Replies: 5
    Last Post: 2010-09-28, 07:43
  4. Would you like to Check your Gmails Without Internet Connection?
    By austin007 in forum News and Announcements
    Replies: 1
    Last Post: 2010-01-21, 06:05
  5. Check free runtime memory in Symbian C++
    By emeoh254 in forum Symbian
    Replies: 2
    Last Post: 2007-02-28, 11:42

Posting Permissions

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