It works fine for me

I assume you're using the permission

<uses-permission android:name="android.permission.ACCESS_WIFI_STATE"></
uses-permission>


On Mar 19, 10:53 am, wafa <[email protected]> wrote:
> Hi all,
> Does anyone have an idea how use those Class(WifiManager or
> WifiConfiguration.Status) ????
> this is my code but doesn't work even if the manifestxml has all the
> necessary permession
>
> WifiManager manager= (WifiManager) getSystemService
> (Context.WIFI_SERVICE);
> if( manager.isWifiEnabled()){
> ..............}
> else{
> .................
>
> }
>
> Thx
--~--~---------~--~----~------------~-------~--~----~
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