What else are you doing  ACCESS_WIFI_STATE is needed for most of the Wi-Fi
API

On Mon, Mar 26, 2012 at 4:28 AM, DraganA <dand...@gmail.com> wrote:

> 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 android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> 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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to