user1302569
user1302569

Reputation: 7191

Check if I am in range my wifi network

I was wondering if is any way to recognize which wifi is enabled in range of phone. I want to do application to run wifi scanner and if I am in range my wifi network I want to get toast. This is any nice tutorial or examples how I can achieve this functionality?

Upvotes: 1

Views: 534

Answers (1)

Nickolaus
Nickolaus

Reputation: 4835

Use Androids WifiManager and getScanResults(), maybe do a scan before with startScan()

Upvotes: 2

Related Questions