This permission is only granted to the shell user, that is the user who runs your "adb shell" command line. Thus you can only run monkey from there.
On Mon, Jan 19, 2009 at 11:17 AM, Frank <[email protected]> wrote: > > I was trying to send Monkey commands in one of my test applications. > But When I install it on the emulator, the packageManager refuses to > grant permission "SET_ACTIVITY_WATCHER" which is required to run > Monkey. > > Is it possible to call Monkey in a test application? > > > > -- Dianne Hackborn Android framework engineer [email protected] Note: please don't send private questions to me, as I don't have time to provide private support. All such questions should be posted on public forums, where I and others can see and answer them. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

