Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User smehta_ce's Avatar
    Join Date
    Jul 2009
    Posts
    43
    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
    Nokia Developer Champion rahulvala's Avatar
    Join Date
    Oct 2008
    Location
    INDIA
    Posts
    2,293
    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 smehta_ce's Avatar
    Join Date
    Jul 2009
    Posts
    43
    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 treinio's Avatar
    Join Date
    Oct 2008
    Location
    Oslo, Norway
    Posts
    329
    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 smehta_ce's Avatar
    Join Date
    Jul 2009
    Posts
    43
    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
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved