[android-developers] Re: where can i get the source code of the command monkey?

2011-03-11 Thread Kanishka Dutta
hi,
Even I am facing the same issue while running a script using monkey.
Have you figured it out lately how to resolve this?
Please share..

And also it would helpful for me if you could explain how to write these 
script files, since I am new to this.

Regards, 
Kanishka Dutta

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

[android-developers] Re: where can i get the source code of the command monkey?

2009-04-21 Thread a druid

Hi Dianne,

Just for fun I wanted to write a Service, which can display
the current activityManager,
the current Window Manager
and the current Service Manager,

in Monkey.java this is done by Monkey.getSystemInterfaces()
with
mAm = ActivityManagerNative.getDefault();

How can I get the same functionality for an Android application?

and of course, how can I compile it.

Thanks in advance

On Apr 16, 10:33 am, Dianne Hackborn hack...@android.com wrote:
 You need to build it with the platform build system.  This is not intended
 to be used outside of that.



 On Thu, Apr 16, 2009 at 12:46 AM, adrian linca30...@gmail.com wrote:

  Hello group,
  I download the source code from [platform/development.git]/cmds/
  monkey/ and want to build in eclipse.
  But I don't have some non-public classes.
  like:
  import android.app.ActivityManagerNative;
  import android.app.IActivityManager;
  import android.app.IActivityWatcher;

  where can I get the non-public classes?

  Thanks and best regards,
  Adrian

  On Apr 16, 2:54 am, swarup me.s...@gmail.com wrote:
   git source path :

   [platform/development.git]/cmds/monkey/...

   On Apr 15, 10:57 am, adrian linca30...@gmail.com wrote:

Hello group,
I don't have a option -f in my commandmonkey(/system/bin/monkey).
example: adb shellmonkey-f script_file_name.
But the command unknown option -f.
So I want to get  the source code of the commandmonkey, then open
this option and rebuild it.

Regards,
Adrian

 --
 Dianne Hackborn
 Android framework engineer
 hack...@android.com

 Note: please don't send private questions to me, as I don't have time to
 provide private support, and so won't reply to such e-mails.  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 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
-~--~~~~--~~--~--~---



[android-developers] Re: where can i get the source code of the command monkey?

2009-04-21 Thread a druid

Hi Dianne,

In fact my goal is to write my own Monkey-service(initial version only
for key presses).
What I need is a much more controlled randomness of key presses and
key timings.

I can create and start a service.

I can create a key event:
KeyEvent = kevent = new KeyEvent
(KeyEvent.ACTION_DOWN,KeyEvent.KEYCODE_A);

But I don't know how my Monkeyservice can send it to the current
activity.


How can I compile such service?


On Apr 16, 10:33 am, Dianne Hackborn hack...@android.com wrote:
 You need to build it with the platform build system.  This is not intended
 to be used outside of that.



 On Thu, Apr 16, 2009 at 12:46 AM, adrian linca30...@gmail.com wrote:

  Hello group,
  I download the source code from [platform/development.git]/cmds/
  monkey/ and want to build in eclipse.
  But I don't have some non-public classes.
  like:
  import android.app.ActivityManagerNative;
  import android.app.IActivityManager;
  import android.app.IActivityWatcher;

  where can I get the non-public classes?

  Thanks and best regards,
  Adrian

  On Apr 16, 2:54 am, swarup me.s...@gmail.com wrote:
   git source path :

   [platform/development.git]/cmds/monkey/...

   On Apr 15, 10:57 am, adrian linca30...@gmail.com wrote:

Hello group,
I don't have a option -f in my commandmonkey(/system/bin/monkey).
example: adb shellmonkey-f script_file_name.
But the command unknown option -f.
So I want to get  the source code of the commandmonkey, then open
this option and rebuild it.

Regards,
Adrian

 --
 Dianne Hackborn
 Android framework engineer
 hack...@android.com

 Note: please don't send private questions to me, as I don't have time to
 provide private support, and so won't reply to such e-mails.  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 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
-~--~~~~--~~--~--~---



[android-developers] Re: where can i get the source code of the command monkey?

2009-04-16 Thread adrian

Hello group,
I download the source code from [platform/development.git]/cmds/
monkey/ and want to build in eclipse.
But I don't have some non-public classes.
like:
import android.app.ActivityManagerNative;
import android.app.IActivityManager;
import android.app.IActivityWatcher;

where can I get the non-public classes?

Thanks and best regards,
Adrian

On Apr 16, 2:54 am, swarup me.s...@gmail.com wrote:
 git source path :

 [platform/development.git]/cmds/monkey/...

 On Apr 15, 10:57 am, adrian linca30...@gmail.com wrote:

  Hello group,
  I don't have a option -f in my commandmonkey(/system/bin/monkey).
  example: adb shellmonkey-f script_file_name.
  But the command unknown option -f.
  So I want to get  the source code of the commandmonkey, then open
  this option and rebuild it.

  Regards,
  Adrian


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



[android-developers] Re: where can i get the source code of the command monkey?

2009-04-16 Thread Dianne Hackborn
You need to build it with the platform build system.  This is not intended
to be used outside of that.

On Thu, Apr 16, 2009 at 12:46 AM, adrian linca30...@gmail.com wrote:


 Hello group,
 I download the source code from [platform/development.git]/cmds/
 monkey/ and want to build in eclipse.
 But I don't have some non-public classes.
 like:
 import android.app.ActivityManagerNative;
 import android.app.IActivityManager;
 import android.app.IActivityWatcher;

 where can I get the non-public classes?

 Thanks and best regards,
 Adrian

 On Apr 16, 2:54 am, swarup me.s...@gmail.com wrote:
  git source path :
 
  [platform/development.git]/cmds/monkey/...
 
  On Apr 15, 10:57 am, adrian linca30...@gmail.com wrote:
 
   Hello group,
   I don't have a option -f in my commandmonkey(/system/bin/monkey).
   example: adb shellmonkey-f script_file_name.
   But the command unknown option -f.
   So I want to get  the source code of the commandmonkey, then open
   this option and rebuild it.
 
   Regards,
   Adrian
 
 
 



-- 
Dianne Hackborn
Android framework engineer
hack...@android.com

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  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 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
-~--~~~~--~~--~--~---



[android-developers] Re: where can i get the source code of the command monkey?

2009-04-15 Thread swarup

git source path :

[platform/development.git]/cmds/monkey/...

On Apr 15, 10:57 am, adrian linca30...@gmail.com wrote:
 Hello group,
 I don't have a option -f in my command monkey(/system/bin/monkey).
 example: adb shell monkey -f script_file_name.
 But the command unknown option -f.
 So I want to get  the source code of the command monkey, then open
 this option and rebuild it.

 Regards,
 Adrian

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