[android-developers] JUnit testing: Question; How the 'unlock' screen be avoided/closed?

2010-05-05 Thread Streets Of Boston
I'm writing some JUnit tests for my Android Activity. They run fine and report proper results. However, when i automate the test and start the emulator, the emulator starts with an unlock screen. This prevents the test from running correctly. How do I start an emulator without the unlock screen

Re: [android-developers] JUnit testing: Question; How the 'unlock' screen be avoided/closed?

2010-05-05 Thread TreKing
On Wed, May 5, 2010 at 3:05 PM, Streets Of Boston flyingdutc...@gmail.comwrote: How do I start an emulator without the unlock screen so that it's ready to run a test immediately? Are there commands in the emulator.exe or adb.exe that can close/ remove the unlock screen? I have no idea, but

Re: [android-developers] JUnit testing: Question; How the 'unlock' screen be avoided/closed?

2010-05-05 Thread Kostya Vasilyev
Regular Android devices (not emulator) have a setting to never lock the screen if the phone is charging. I use it on my development phone, it works. I believe emulators make it look like the emulated phone is charging. Perhaps this setting would work there, too? It's under developement settings,