Hi there,

the documentation (http://developer.android.com/reference/android/net/
wifi/WifiManager.WifiLock.html) clearly says that in order to acquire
and lock Wifi state android.permission.WAKE_LOCK is needed in the
manifest.
Now, in Dev. console I'm getting errors from some users that goes
like:
java.lang.SecurityException: WifiService: Neither user 10078 nor
current process has android.permission.ACCESS_WIFI_STATE.

So, I'm not sure which one is it. I'm not very keen just to ask for a
new permission if I don't really need to.

Thanks

-- 
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