Connecting to Wi-fi

Discussion in 'Application Development' started by eijixAG, Nov 27, 2010.

  1. eijixAG

    eijixAG New Member
    5

    Nov 27, 2010
    2
    0
    5
    hi,everyone.

    I have been making the application.
    It connects to the Wi-Fi network.

    But I do not know how.
    I'm looking for sample source code.

    Do you know helpful web sites?


    eijixAG
     

    Advertisement

  2. intsurfer

    intsurfer Member
    26

    Oct 30, 2010
    9
    1
    26
    Oracle Developer
    Nizhniy Novgorod, Russia
    Hi!
    That's very simple! :)

    1. wm = (WifiManager) getSystemService(WIFI_SERVICE);
    2. wm.setWifiEnabled(true);

    That's all! :)
     
  3. eijixAG

    eijixAG New Member
    5

    Nov 27, 2010
    2
    0
    5
    hi, intsurfer

    Wow, it is simple!
    I am going to try.

    thanks!
     

Share This Page

Loading...