Then again, I just tried it with the Nexus S and it doesn't work.  It may
work on devices with keyboards like Droid.  Here's how I tested it:

$ adb shell "monkey --port 9999"
$ adb forward tcp:9999 tcp:9999
$ telnet localhost 9999
Connected to localhost.
Escape character is '^]'.
flip open
OK
flip 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 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.
>
>
> http://android.git.kernel.org/?p=platform/development.git;a=blob;f=cmds/monkey/README.NETWORK.txt;h=4e78b6c8b05225900b923da0122a85037949abc0;hb=HEAD
>
> On Thu, Apr 14, 2011 at 4:26 AM, lbendlin <l...@bendlin.us> wrote:
>
>> Well, the monkey can do it (change orientation, that is)  so you might be
>> able to learn how to do it from the monkey source code.
>>
>> --
>> 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
>>
>
>
>
> --
> 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
>



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