Friday, July 1, 2011

[android-developers] Device Suspend and Wakeup and Unlock screen

I want to achieve the following as part of testing automation.

Go to device suspend/sleep state
Wait for 30 sec. Then Wakeup and unlock screen
Do the above 2 operations for n number of times.

Is there a way to achieve the above? I am using Windows OS.

I tried to use power buton click through Monkeyrunner which
successfully takes the system to suspend. But I couldn't find a way to
resume back and unlock the screen.

Any help will b highly appreciated.

Thanks,
Karthik

--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment