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!
the main preference page can be found under window > preferences > general > keys (or faster: press ctrl+3 , type keys and press enter ). from here you can see all commands and assign/change their associated keyboard shortcuts.
CTRL SHIFT R – Open a resource. You need not know the path and just part of the file name is enough. CTRL E – Open a file (editor) from within the list of all open files. CTRL PAGE UP or PAGE DOWN – Navigate to previous or next file from within the list of all open files.
Ctrl + Shift + X, J This shortcut can be used to run any Java application. There are several other options available to run. To Run on server use R instead of J.To run Java Applet use A instead of J.
In preferences, go to General -> keys and search for the Android Application command. You can set a new key combination from here.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With