[android-developers] W-Fi Connectivity Receiver

2012-12-21 Thread BearTi
Hi, I need a broadcast-receiver which react on state changes of the wi-fi connectivity. I don´t want to get an intent when the wi-fi is enabled or disabled by the user... I just want a message when for the connection to one of the, in my phone configured wi-fi networks (supplicant), has been

Re: [android-developers] W-Fi Connectivity Receiver

2012-12-21 Thread Irfan Sheriff
http://developer.android.com/reference/android/net/wifi/WifiManager.html#NETWORK_STATE_CHANGED_ACTION On Fri, Dec 21, 2012 at 1:35 PM, BearTi mlrti...@gmail.com wrote: Hi, I need a broadcast-receiver which react on state changes of the wi-fi connectivity. I don´t want to get an intent when

Re: [android-developers] W-Fi Connectivity Receiver

2012-12-21 Thread BearTi
I alos tried this, but here i only get a notify when the wi-fi function is being enabled/disabled... not when i lost the connection to a hotspot :-/ Am Freitag, 21. Dezember 2012 22:44:41 UTC+1 schrieb Irfan Sheriff:

Re: [android-developers] W-Fi Connectivity Receiver

2012-12-21 Thread Irfan Sheriff
On Fri, Dec 21, 2012 at 1:54 PM, BearTi mlrti...@gmail.com wrote: I alos tried this, but here i only get a notify when the wi-fi function is being enabled/disabled... not when i lost the connection to a hotspot :-/ I do not follow you entirely - what do you mean by wi-fi function is

Re: [android-developers] W-Fi Connectivity Receiver

2012-12-21 Thread BearTi
With wi-fi function is enabled/disabled i mean that the wi-fi modul is turned off I tried it with NETWORK_STATE_CHANGED_ACTION, I turned off my router and so the connection to it broke up, but there was no intent fired :-/ Am Freitag, 21. Dezember 2012 23:04:21 UTC+1 schrieb Irfan