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 Sheriff:
>
> On Fri, Dec 21, 2012 at 1:54 PM, BearTi <[email protected] 
> <javascript:>>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 
> enabled/disabled ?
>
> This intent includes NetworkInfo extra which will tell you everytime Wi-Fi 
> was connected or disconnected.
>  
>
>>
>>
>> Am Freitag, 21. Dezember 2012 22:44:41 UTC+1 schrieb Irfan Sheriff:
>>>
>>> http://developer.android.com/**reference/android/net/wifi/**
>>> WifiManager.html#NETWORK_**STATE_CHANGED_ACTION<http://developer.android.com/reference/android/net/wifi/WifiManager.html#NETWORK_STATE_CHANGED_ACTION>
>>>
>>>
>>> On Fri, Dec 21, 2012 at 1:35 PM, BearTi <[email protected]> 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 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 lost.
>>>>
>>>> I tried it with the ConnectivityManager.**CONNECTIVITY_ACTION, but 
>>>> here I get more intens i need.
>>>>
>>>> Any idea? Thanks
>>>>
>>>>  -- 
>>>> You received this message because you are subscribed to the Google
>>>> Groups "Android Developers" group.
>>>> To post to this group, send email to android-d...@**googlegroups.com
>>>>
>>>> To unsubscribe from this group, send email to
>>>> android-developers+**[email protected]
>>>> For more options, visit this group at
>>>> http://groups.google.com/**group/android-developers?hl=en<http://groups.google.com/group/android-developers?hl=en>
>>>>
>>>
>>>  -- 
>> You received this message because you are subscribed to the Google
>> Groups "Android Developers" group.
>> To post to this group, send email to 
>> [email protected]<javascript:>
>> To unsubscribe from this group, send email to
>> [email protected] <javascript:>
>> For more options, visit this group at
>> http://groups.google.com/group/android-developers?hl=en
>>
>
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to