Discussion Board

Results 1 to 9 of 9
  1. #1
    Registered User Jacky2009's Avatar
    Join Date
    Jun 2009
    Posts
    6
    Hi,

    In my feature, I need to report the internet connection status (whether the device is connected to Internet). Is there any API in Symbian OS to monitor the internet connection status?

    Thanks!

  2. #2
    Nokia Developer Expert symbianyucca's Avatar
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    28,673
    Connection monitor API might be the one for that, you could maybe try out the wiki example to see whether it works for your use case: http://wiki.forum.nokia.com/index.ph...on_Example.zip

  3. #3
    Registered User Jacky2009's Avatar
    Join Date
    Jun 2009
    Posts
    6
    Thanks for the information
    But the example code used S60 ConnectionMonitor server. I don't want to depend on S60 code. Is there any Symbian OS API can do the similar thing?

  4. #4
    Nokia Developer Expert symbianyucca's Avatar
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    28,673
    S60 is Symbian, and I don't think the API used in that example would be S60 specific, so do check again..

  5. #5
    Regular Contributor sunil.shetty's Avatar
    Join Date
    Feb 2007
    Location
    Mumbai
    Posts
    67
    RConnection apis EnumerateSubConnections(TUint& aCount) may be useful..

  6. #6
    Super Contributor mahbub_s60's Avatar
    Join Date
    Mar 2008
    Posts
    1,481
    RConnectionMonitor could be another alternative for this.

  7. #7
    Registered User Jacky2009's Avatar
    Join Date
    Jun 2009
    Posts
    6
    Thank you all for the help on this!

    I don't want to use RConnectionMonitor, because it could cause some dependency issue.

    I checked the RConnection Class and decide to use Ronnection::EnumerateConnections and connection::AllInterfaceNotification to do this.
    If I am wrong, please correct me.

  8. #8
    Nokia Developer Expert symbianyucca's Avatar
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    28,673
    What is the dependency issue you are worried about ?

  9. #9
    Registered User Jacky2009's Avatar
    Join Date
    Jun 2009
    Posts
    6
    I am using symbian CBR which does not include S60 stuff. To make sure my code can be compiled and tested, I don't want to invoke the S60 APIs.

Similar Threads

  1. use pc internet connection to unlock secure element of 6131nfc
    By daniel.witte in forum Near Field Communication
    Replies: 4
    Last Post: 2008-09-04, 16:35
  2. nokia 6120 classic MIDP Internet Connection problem..
    By dream_bolt in forum Mobile Java Networking & Messaging & Security
    Replies: 3
    Last Post: 2008-06-24, 20:43
  3. Internet connection just aint disconnecting...
    By liormin in forum Mobile Java Networking & Messaging & Security
    Replies: 1
    Last Post: 2008-06-18, 09:07
  4. RConnection::Start opens internet connection?
    By machiel in forum Wired and Wireless interfaces (Closed)
    Replies: 2
    Last Post: 2008-05-26, 15:46
  5. Access pc internet connection from 6680 using blutooth
    By debasish1234 in forum Symbian Networking & Messaging (Closed)
    Replies: 2
    Last Post: 2005-10-25, 15:10

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