×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    Jul 2007
    Posts
    279

    How to detect the phone ip address ??

    Hi,
    My application uses the wifi to connect to my local server in the same local network and I want to detect the phone ip address programatically.how to do this ??
    thanks
    Ram

  2. #2
    Super Contributor
    Join Date
    Jun 2006
    Location
    India
    Posts
    3,037

    Re: How to detect the phone ip address ??

    hope Link will be helpful for you.
    Use [URL="http://qt.nokia.com/products/qt-quick/"]Qt-Quick[/URL] to make your application UI more attractive.

    [URL="http://store.ovi.com/content/271896"]http://store.ovi.com/content/271896[/URL] | [URL="http://store.ovi.com/content/276199"]http://store.ovi.com/content/276199[/URL] |[URL="http://store.ovi.com/content/276202"] http://store.ovi.com/content/276202[/URL] | [URL="http://store.ovi.com/content/280827"]http://store.ovi.com/content/280827[/URL]

  3. #3
    Registered User
    Join Date
    Jul 2007
    Posts
    279

    Re: How to detect the phone ip address ??

    thanks kkrish,
    the link was helpful but i still have a problem in getting the ipv4 phone adress of the wlan network. I get only one ip address which is 127.0.0.1
    im still in a need for some help
    thanks

  4. #4
    Registered User
    Join Date
    Jul 2007
    Posts
    279

    Re: How to detect the phone ip address ??

    i'm using this code
    Code:
    QList<QNetworkInterface> list;
    
         QNetworkInterface* inter=new QNetworkInterface();
          list=inter->allInterfaces();
           QString str;
       for (int i = 0; i < list.size(); ++i)
           str = list.at(i).name();
    and i can get only one interface whose name is "loop4" and address"127.0.0.1"
    why i can't get the wlan interfaces??
    thnaks

  5. #5
    Registered User
    Join Date
    Jul 2007
    Posts
    279

    Re: How to detect the phone ip address ??

    please anybody tell me where the problem is?and what's the solve?

Similar Threads

  1. how to extract the IP address from the IP packet using the IP hook
    By liuxingyu_best in forum Symbian Networking & Messaging (Closed)
    Replies: 2
    Last Post: 2008-10-29, 14:54
  2. How to find IP address in nokia series 40 phone?
    By sweetsweet24 in forum Mobile Java General
    Replies: 0
    Last Post: 2008-10-16, 10:49
  3. How to read the IP address given as input to IP field editor.
    By sirilux in forum Symbian User Interface
    Replies: 3
    Last Post: 2008-08-07, 10:14
  4. Replies: 0
    Last Post: 2006-12-19, 01:12
  5. How do I determine the IP address of my phone?
    By tote in forum Symbian Networking & Messaging (Closed)
    Replies: 7
    Last Post: 2006-09-15, 09:49

Posting Permissions

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