Skip to content Skip to sidebar Skip to footer

BroadcastReceiver Is Not Working (detect If Wifi Is Connected)

I'm trying to use a BroadcastReceiver to detect if wifi is connected and simply display a toast when the status changes (wifi disonnect/reconnect/turn off) but it doesn't seem to b

Solution 1:

I got it working.

My problem was in the Manifest. I was putting my receiver block outside the application tag. Once I moved it inside, it worked perfectly.


Post a Comment for "BroadcastReceiver Is Not Working (detect If Wifi Is Connected)"