0

I want the application to work only in a specific WiFi network.

How can I make that, by getting the WiFi network name and comparing with the name stored in the application ?

If yes, how to get the name of the connected network ?

hakre
  • 193,403
  • 52
  • 435
  • 836
Adham
  • 63,550
  • 98
  • 229
  • 344

1 Answers1

1

You can use this:

android.net.wifi.WifiInfo.getSSID

Please refer:

How to get name of wifi-network out of android using android API?

How to get the name of currently connected WiFi network in Android with BroadcastReceiver

Community
  • 1
  • 1
kittu88
  • 2,451
  • 5
  • 40
  • 80