How do I install my apk on the phone without running it?
Here's some brief background on my question; maybe the real answer is to just change my approach.
I have an application that can run all by itself, but certain activities can be called using intents from outside the application. Lately, I've been using a little test app I built to try this out, and any time I change the code in my main application, I have开发者_如何学Go to run it, close it, then run the test app.
Not too big a deal, really. Still, I'm curious to find out if there's a way to just install new code without having the app launch on the phone.
By invoking adb install YourApplication.apk
from the command line.
Also any file browser (try ASTRO from the market) will let you select the APK file on your sdcard/storage and install it from within your phone.
精彩评论