Android Question WiFi

Discussion in 'Android Questions' started by grafsoft, May 4, 2015.

  1. grafsoft

    grafsoft Well-Known Member Licensed User

    How do I know if the phone has WiFi?
     
  2. Erel

    Erel Administrator Staff Member Licensed User

    You can use ServerSocket.GetMyWifiIp. It will return 127.0.0.1 if there is no wifi.
     
    grafsoft likes this.
  3. grafsoft

    grafsoft Well-Known Member Licensed User

    Perfect, thanks!
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice