×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    Jul 2009
    Posts
    43

    Exclamation Checking Internet Connection

    Hello Friends, Is it possible to check whether phone already connected to Internet using Qt libraries? I am using Mobile Extensions for my project, I am not using QtMobility. Internet connection may be WiFi, GPRS or 3G networks.

    Thanks.

  2. #2
    Super Contributor
    Join Date
    Oct 2008
    Location
    INDIA
    Posts
    2,326

    Re: Checking Internet Connection

    Yes ,You can do that using,
    Access Point Manager API

    Main class XQAccessPointManager
    Main use cases: Listing Internet Access Points (IAPs), setting the used access point, listing available access points, scanning for available WLANs.

    See this link :http://wiki.forum.nokia.com/index.php/Mobile_Extensions

    Best regards,

  3. #3
    Registered User
    Join Date
    Jul 2009
    Posts
    43

    Re: Checking Internet Connection

    Yeah, I know those classes but there's not any specific function. For example, isInternetConnected etc. Program cannot tell using above listed functions that device is connected or not!! Btw, thanks for replying.

  4. #4
    Regular Contributor
    Join Date
    Oct 2008
    Location
    Oslo, Norway
    Posts
    329

    Re: Checking Internet Connection

    Quote Originally Posted by smehta_ce View Post
    but there's not any specific function. For example, isInternetConnected etc.
    Have you tried XQAccessPointManager::activeAccessPoints() ? Looks to me it does exactly what you'd want. If you get an empty list as a result, there's no active connection.

  5. #5
    Registered User
    Join Date
    Jul 2009
    Posts
    43

    Re: Checking Internet Connection

    Thank you for replying me. But as per description of activeAccessPoints() function, it is giving list of access points in the range of device, it is not giving information that device is already connected!!

Similar Threads

  1. Checking the server connection from the device for uploading
    By dhiraj.deka in forum Mobile Java General
    Replies: 7
    Last Post: 2009-12-22, 15:30
  2. Checking the server connection from the device for uploading
    By dhiraj.deka in forum Mobile Java General
    Replies: 3
    Last Post: 2009-12-18, 07:00
  3. How to use my PCs connection to the internet to connect my mobile to the internet?
    By iamrohitbanga in forum General Development Questions
    Replies: 3
    Last Post: 2009-10-07, 19:14
  4. how to disable the display of "Checking internet connectivity"?
    By buptwsg in forum Wired and Wireless interfaces (Closed)
    Replies: 0
    Last Post: 2009-06-01, 09:42
  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
  •  
×