Same result with you. But the code I wrote is a system process with all the permission(Even one time, the system is crashed, my process is still running!! O(∩_∩) O~)
So why is this result? On Jul 21, 9:17 pm, Yuri Dario <[email protected]> wrote: > Hi, > > > public static native int setScreenState(boolean on) > > tried this one, but calling it does nothing, and always returns 2; > since this is a native method, I think it means EACCESS (permission > denied). > > thanks, > > Yuri --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

