2

When I run a program from Eclipse, the emulator appears with a padlock on the screen, which I then have to click on (twice, in two locations) before the application is allowed to run.

Is there any way to bypass this so that the application runs immediately?

paxdiablo
  • 854,327
  • 234
  • 1,573
  • 1,953

1 Answers1

4

Don't close your emulator everytime you run your application, you will only have to unlock it the first time.

Failing that there is a adb bash command that will unlock your handset. Although I can't see how you would get this working with eclipse and the emulator:

 adb shell input keyevent 82
Blundell
  • 75,855
  • 30
  • 208
  • 233
  • Nice one, I didn't realise I could just leave it running, I thought I'd have to go from scratch to get the install happening but not so, changes to the source automatically load up the app fresh. Thanks. – paxdiablo Dec 16 '11 at 14:54