no, not from the device directly.  The permissions required to do the stuff
the monkey does is only granted to the user who has logged in via "adb
shell".  Any application on the phone will not have the correct permissions
to do it.

On Thu, Mar 17, 2011 at 2:43 AM, raki <rakeshkart...@gmail.com> wrote:

> Hi Bill,
>
> Thanks for your reply.
> Could you please tell me if there is a way at least to run a Monkey
> script on the Android device directly?
>
> Thanks,
> Rakesh
>
> On Mar 17, 7:37 am, Bill Napier <nap...@android.com> wrote:
> > Hi,
> >
> > This won't work.  MonkeyRunner will only work on a host computer, you
> can't
> > run it from the device itself.
> >
> > Bill
> >
> >
> >
> >
> >
> >
> >
> > On Tue, Mar 15, 2011 at 5:15 AM, raki <rakeshkart...@gmail.com> wrote:
> > > Hi,
> >
> > > I wanted to run a python script directly on an Android device through
> > > Monkeyrunner.
> > > I have installed the following applications on my Android device:
> > > SLA4, Python for Android.
> >
> > > But when I try to run the script through Python interpretter, I get
> > > the error saying "Import Error: No Module named
> > > com.android.monkeyrunner"
> >
> > > Are Monkeyrunner and Monkey tools not included along with the Android
> > > OS ?
> >
> > > Could some one suggest, how to start creating scripts using
> > > Monkeyrunner API ?
> >
> > > Appreciate any help.
> >
> > > Thanks,
> > > Rakesh
> >
> > > --
> > > 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
>

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