I would like to have my Windows Vista Home Premium run my .APK files in the emulator when I click on it. There are ways to do it manually from ADB command line, but I want to make it run on the emulator instantly. How do I do that?
Asked
Active
Viewed 797 times
1 Answers
0
you cant directly run it on a click.
you need to store the apk in android-sdk-windows\tools\
. then keeping the emulator open you can install apk using the install command like this
adb install Application.apk
i dont think there is any other way to do it.

Anurag Ramdasan
- 4,189
- 4
- 31
- 53
-
would there be a way to make a java program to do that? like right click the app, select always open with apkinstaller.jar, and the jar file runs a script which installs it automatically? – CreeperHunter Apr 23 '12 at 05:37
-
since all the installing emulator and installing the apk can be done via command line you can actually write a program in java using Runtime class to execute this commands although you might need to check the exact location of the android sdk. it can be done but it would really be an extensive process. refer this http://stackoverflow.com/questions/4974568/how-do-i-launch-the-android-emulator-from-the-command-line to get an idea. – Anurag Ramdasan Apr 23 '12 at 13:38