Reputation: 10039
I want to write a program that wants to restrict location updates when the device is in the same wifi network. How would I go about doing that? How do I check if the device is in the same wifi network as earlier?
Upvotes: 0
Views: 306
Reputation: 80340
WifiManager.getConnectionInfo()
will give you information about current Wifi network.
Upvotes: 1