×

Discussion Board

Results 1 to 4 of 4

Thread: Wifi connection

  1. #1
    Registered User
    Join Date
    Sep 2007
    Posts
    1

    Wifi connection

    Hello to everybody,

    I am having a problem regarding a project. The problem goes like this

    I want to connect to a wifi network from a java program....now i have gone through the links posted in the thread
    http://discussion.forum.nokia.com/fo...d.php?t=104867
    and have learned that it is possible to do it via a socket connection(mentioned in http://discussion.forum.nokia.com/fo...ht=WIFI+socket )
    now the constructor
    Socket socket = new Socket(InetAddress , port) is utilized here... but the port is the port number to which the specified address is connected....so I just want to know that is how can i ensure that such a socket connection is using the wifi only, not gprs? is there any way at all to ensure the particular connection?


    I will be highly obliged if you provide me any kind of clue.

    Thanking you,

    Haimasree Bhattacharya

  2. #2
    Nokia Developer Champion
    Join Date
    Apr 2003
    Location
    USA, CA
    Posts
    7,192

    Re: Wifi connection

    On S60 devices and for Java MIDlets the user is presented the Access Point selection list. You cannot limit the user to select WiFi connection only

    Hartti

  3. #3
    Registered User
    Join Date
    Oct 2007
    Posts
    13

    Re: Wifi connection

    Hello, my question is relationed with this topic, how can I get the available WLAN's to give the user a chance to choose one, or a way to access this feature on the device using J2ME. Thanks.

  4. #4
    Nokia Developer Champion
    Join Date
    Apr 2003
    Location
    USA, CA
    Posts
    7,192

    Re: Wifi connection

    The user can choose "search WLANs" when the APN list is presented. There is no control over this list in Java ME on S60 devices.

    Hartti

Similar Threads

  1. How to detect if we lost wifi connection?
    By oslario in forum Symbian Networking & Messaging (Closed)
    Replies: 1
    Last Post: 2008-03-20, 11:49
  2. Need a 3G phone that can make a video call via WiFi connection
    By ecanderl in forum General Development Questions
    Replies: 1
    Last Post: 2007-05-20, 20:34
  3. Using 3G and Wifi connection simultaneously
    By alfista in forum Mobile Java Networking & Messaging & Security
    Replies: 2
    Last Post: 2007-04-03, 13:54
  4. Problem in connection MIDlet through wifi
    By tareshvyas in forum Mobile Java General
    Replies: 1
    Last Post: 2007-03-15, 01:21
  5. HELP_no WIFI connection AT HOME....
    By gugliof in forum Symbian Networking & Messaging (Closed)
    Replies: 0
    Last Post: 2004-12-19, 23:16

Posting Permissions

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