On Tue, Oct 16, 2012 at 12:39 PM, Lew lewbl...@gmail.com wrote:
I don't know about your specific modules, but you don't have to use Python
to use monkeyrunner.jar; you could write code in Java, too.
Java has GUIs available for it.
Which, since Jython can use Java jars, might give you the
The limit here is the speed at which ADB can take screenshots and send the
data over USB, nothing else.
Might want to take a look at how some of the android vnc ports work, as
that may be a more workable solution.
On Sun, Feb 19, 2012 at 8:20 AM, antiAgainst antiagai...@gmail.com wrote:
Hi,
We re-factored a bunch of code to take a lot of the MonkeyRunner source and
make it available as a library, specifically for people doing project
similar to what you're doing. You should probably stop depending on the
monkeyrunner.jar and start depending on chimpchat.jar (the new java library
What command are you running your script with?
On Tue, Jul 26, 2011 at 4:50 AM, Awdhesh Jha awdheshkumar@gmail.comwrote:
I can't find the package com.android.monkeyrunner. Without it I can't
work on the monkey device.
The errors are comming when I run my program which name is monkey.py
device.press('KEY_MENU', MonkeyDevice.DOWN_AND_UP) is what I think you want.
I think the docs are currently incorrect.
DOWN_AND_UP means to send both the down event and the up event, which should
simulate a press of the button.
On Mon, Jul 11, 2011 at 12:58 AM, frank franklin.f2...@gmail.com
Oh, and there currently is no way to get text from the screen. It's
something we are working on, but it's not yet ready.
On Mon, Jul 11, 2011 at 3:31 PM, Bill Napier nap...@android.com wrote:
device.press('KEY_MENU', MonkeyDevice.DOWN_AND_UP) is what I think you
want. I think the docs
in advance.
Thanks
--Karthik
On Jun 24, 10:39 am, Bill Napier nap...@android.com wrote:
If you mean from Java on the phone (like as part of an application), then
the answer is no.
If you mean from Java on a computer, then the answer is yes. You just
need
to make your java project depend
If you mean from Java on the phone (like as part of an application), then
the answer is no.
If you mean from Java on a computer, then the answer is yes. You just need
to make your java project depend on the MonkeyRunner.jar and you can call
some of it's internal classes to do what you need.
On Sat, Jun 11, 2011 at 11:25 AM, Mark Murphy mmur...@commonsware.comwrote:
If not, then is MonkeyRunner is enough for it?
Only you can answer that.
If MonkeyRunner doesn't work out well, you can always use the same protocol
that MR uses to talk to the device to implement the features
your stack trace doesn't match your code:
if img_1.sameAs(1, img_2):
has the arguments in the wrong order. It should be:
if img_1.sameAs(img_2, 1)
On Mon, May 23, 2011 at 2:58 AM, Alexander Sukhov testsem...@gmail.comwrote:
Hello,
I build SDK from source code.
And i want to use the
Hi,
I've never tried using MonkeyRunner over TCP. There is a bunch of stuff
inside MonkeyRunner that assumes you're connecting to the device over USB.
Without changing the MonkeyRunner source code, I'm not sure it's possible
to connect to a device over TCP. I'll take a look at it and see if I
what phone?
There haven't been any changes to the monkeyrunner stuff on the device in
that timeframe, so I'm not sure what the problem is.
On Wed, Apr 27, 2011 at 7:59 AM, Tiago Maluta tiago.mal...@gmail.comwrote:
Hi.
I tested the same monkeyrunner [1] script on two android versions
2.3.3
this worked for me (on Nexus S):
from com.android.monkeyrunner import MonkeyRunner
from com.android.monkeyrunner import MonkeyDevice
dev = MonkeyRunner.waitForConnection()
dev.press('POWER', MonkeyDevice.DOWN)
It brought up the Phone Options menu. I really recommend that you use the
constants
We use python's unittest module to run a series of commands like that (very
useful if you're doing stuff like regression tests):
http://docs.python.org/library/unittest.html
On Tue, Apr 26, 2011 at 9:42 AM, Diego Torres Milano dtmil...@gmail.comwrote:
Well, in that case you don't need anything
Hi,
I'm going to start taking the same support stance the other android devs on
this list take. I can't answer private questions, but I can respond to
questions posted on the list.
In this case, you can just use the same device object each time:
device = MonkeyRunner.waitForConnection()
img1 =
It looks like the flip command from the protocol that monkeyrunner uses
may do it for you. It looks like it never got added to MonkeyDevice to be
exposed as part of the monkeyrunner API.
close
OK
And nothing happened on my phone. It may actually work on a device that has
a flip out keyboard (G1 or droid for example), but I don't have one handy.
On Fri, Apr 15, 2011 at 11:24 AM, Bill Napier nap...@android.com wrote:
It looks like the flip command from the protocol
://code.google.com/p/android/issues/detail?id=16049
-Peddi.
On Apr 7, 4:59 pm, Peddi Kanumuri peddi.kanum...@gmail.com wrote:
Bill,
How to build just the monkeyrunner.jar with these changes?
We are in need of loadImageFromFile API.
-Peddi.
On Mar 7, 8:02 pm, Bill Napier nap...@android.com wrote
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
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
Can you provide the full stack trace from your first mail? It looks like
part of it got cut off.
@diego - I've filed a bug to look at fixing the unbuffered input issue that
you had to work around. It would be nice if monkeyrunner could just do this
without resorting to a wrapper script.
On
other way to simulate the lock screen?
Really Appreciate your help.
On Thu, Mar 3, 2011 at 4:30 PM, Bill Napier nap...@android.com wrote:
This worked for me. It turned off my Nexus S when I tried it.
What you were doing was only sending the down part of the DOWN_AND_UP, so
it was like you
yet. I
couldn't find any info on it.
Cheers,
Andrew
On Feb 15, 4:11 pm, Bill Napier nap...@android.com wrote:
Hi Christopher,
Being able to load an image into MonkeyRunner from the filesystem
makes a lot of sense, I don't see how I had missed that. All the
test's we've been using
that this percentage have changed with the next screenshot
so that testcase is passed?
Because that wouldn't make my testcases obsolete even if i change the
background color.
Thanks a lot for your help.
On Tue, Feb 15, 2011 at 4:11 PM, Bill Napier nap...@android.com wrote:
Hi Christopher,
Being able
This worked for me. It turned off my Nexus S when I tried it.
What you were doing was only sending the down part of the DOWN_AND_UP, so it
was like you were pressing the POWER button and then never ever taking your
finger off of it.
If you want even more control over the duration of the press,
Hi Christopher,
Being able to load an image into MonkeyRunner from the filesystem
makes a lot of sense, I don't see how I had missed that. All the
test's we've been using MonkeyRunner before only ever wanted to
compare to subsequent snapshots (to see what has changed). This looks
pretty
Hi,
You can safely ignore that log message. I know it looks scary, but things
are still working (I got the same message when I just tried, but the rest of
the script ran fine). In a later build that message will be totally be
gone.
Also, I noticed a slight typo in the docs regarding
There are a couple problems here.
1. The phone doesn't have the adb command installed on it and doesn't
need it. adb shell is only to be able to run shell commands from a
computer on the phone.
2. Permission denied is the default (confusing and buggy) error code
returned when you try and
The questions your asking would probably be better asked on
android-platform, where they discuss these kinds of things.
But the reason you can't mount it is probably that your system doesn't
have the yaffs2 kernel module loaded.
b
On Sun, Dec 21, 2008 at 4:17 AM, fry bender...@gmail.com wrote:
I can't even keep track of the number of times I've wiped the data on
my phone. Sometimes its gotta be done to test things. It usually
takes me maybe 10-15 minutes to re-install all my apps and re-setup
all my settings. IMHO, not that big a deal. All my contact
info/calendar/etc. sync from
Can you please continue this discussion on android-discuss where it belongs?
But it is nice to know that I'm now cool... I appreciate that. :)
On Sun, Dec 21, 2008 at 3:18 PM, mashpl...@gmail.com
mashpl...@gmail.com wrote:
The phone mindset is wrong, consumers are not like they were in the
http://code.google.com/android/reference/adb.html#forwardports
You can use adb to do some amount of port forwarding, but I'm not sure
if it works in the direction you're looking for.
You can also use 'adb logcat' to retrieve the system log on the phone.
And if you keep it running you can get
You can also have write access to the SD card directly, so you could
save your stuff for your app there, if you're willing to handle the
case when the SD card may be not be plugged in.
Also, 802.11n is backwards compatible with 802.11g. Just make sure
you're not running your router in 802.11n
I would assume you would also need android.permission.MASTER_CLEAR.
And then it looks like this is the magic from that file:
ICheckinService service =
71
ICheckinService.Stub.asInterface(ServiceManager.getService(checkin));
72 if (service != null) {
73
Just because I'm curious, why Reader? I've use Reader quite a bit in
the browser to catch up blogs and stuff and am very happy with how it
works. I can't see what a native Android App for Reader would add.
b
On Mon, Dec 15, 2008 at 8:50 PM, Chris B. chrismbell...@gmail.com wrote:
I'm not
Are either of the mac users running on an old powerbook? Like the
PowerPC (non-intel) powerbooks? The Android SDK is only works on
Intel-based mac's. (I would love to see universal binaries for the
mac stuff as well so I can use my PPC mac...)
b
On Mon, Nov 24, 2008 at 9:11 AM,
Have you tried accessing it on Wifi vs. cell data? Could also be a
t-mobile data issue.
On Wed, Dec 10, 2008 at 10:52 AM, Al Sutton [EMAIL PROTECTED] wrote:
I suppose the question now is is this an Android bug or a Google sites bug?
Al.
Al Sutton wrote:
Mark Murphy wrote:
Al Sutton
Searching this forum for the term send email gave me this mail:
http://groups.google.com/group/android-developers/browse_thread/thread/88bb36c676e3217b/c1d0be41174b4999?lnk=gstq=sending+email#c1d0be41174b4999
Which has some example code that you could use.
On Thu, Dec 4, 2008 at 10:51 AM, dilu
I would start looking here:
http://code.google.com/android/reference/android/content/ContentResolver.html#registerContentObserver(android.net.Uri,
boolean, android.database.ContentObserver)
with ContentObserver.registerContentObserver which sounds like it
should do what you want. I haven't
I would start looking here:
http://code.google.com/android/reference/android/content/ContentResolver.html#registerContentObserver(android.net.Uri,
boolean, android.database.ContentObserver)
with ContentObserver.registerContentObserver which sounds like it
should do what you want. I haven't
, Bill Napier [EMAIL PROTECTED] wrote:
Yes. Register an intent-filter for your activity that captures:
action: android.intent.action.SEND
category: android.intent.category.DEFAULT
mimeType: image/*
If you look at the AndroidManifest.xml for the Mms application in the
git repo you can see
Yes. Register an intent-filter for your activity that captures:
action: android.intent.action.SEND
category: android.intent.category.DEFAULT
mimeType: image/*
If you look at the AndroidManifest.xml for the Mms application in the
git repo you can see an example of it.
b
On Sat, Nov 22, 2008
42 matches
Mail list logo