Flip command in monkey is expected to work only in emulator and Dream (see MonkeyFlipEvent.java).
On Apr 15, 4:56 pm, Bill Napier <[email protected]> wrote: > 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 <[email protected]> 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=cm... > > > On Thu, Apr 14, 2011 at 4:26 AM, lbendlin <[email protected]> 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 [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 > > > -- > > 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 [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

