Don't know how big a difference it'll make, but try <uses-permission
android:name="android.permission.WAKE_LOCK" /> instead. Also, which
element have you put the line under? Try putting it immediately after
<manifest .... >.

On Jan 22, 12:01 am, dreamerBoy <paul.hube...@gmail.com> wrote:
> I am very confused because I am getting a permission problem when I
> have clearly included:
>
>         <uses-permission android:name="android.permission.WAKE_LOCK"></uses-
> permission>
>
> in the manifest.
>
> 01-21 15:43:44.318: ERROR/AndroidRuntime(806):
> java.lang.SecurityException: Neither user 10019 nor current process
> has android.permission.WAKE_LOCK.
>
> Has anyone else encountered this? - is there a work-around?
>
> Thanks much.
>
> Paul
--~--~---------~--~----~------------~-------~--~----~
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