Add application launch shortcut in Eclipse?

Brad Hein picture Brad Hein · Aug 7, 2010 · Viewed 10.5k times · Source

I've been programming Android in Eclipse for about a year now and I have always launched my app by right clicking on my project name in the project explorer, followed by "run as", then "Android Application". There has to be a better way...

Is there a way to change this (three mouse clicks):

"Right click on project" -> "run as" -> "Android Application"

To this (one hotkey press):

<My favorite hotkey>

So I can just press one button to launch my app?

Thanks!

Answer

Bruiser picture Bruiser · Jan 25, 2011
  1. Eclipse/Window > Preferences > Run/Debug > Launching
  2. Select 'Always launch the previously launched application' in the 'Launch Operation' section.
  3. Then just use your shortcut of choice. I think Ctrl + F11 is the default for this