Reputation: 920
I'm testing a widget and I'd like to just install the new version without launching the main activity. Is this possible? Thanks
Upvotes: 0
Views: 33
Reputation: 1971
just an addition- you can either install using command line or you can just build your apk using build and push it to your avd.
You can have a look at these two pages. first- Second- I hope it would help you.
Upvotes: 1
Reputation: 596
You will need to use the command line to achieve this. Use adb install path/your_application.apk. This will just install the app on your virtual device.
http://developer.android.com/tools/help/adb.html
Upvotes: 2
Reputation: 829
I don't think its possible, because as after the application is installed in your virtual device, the onCreate
method immediately starts your application depending on the main_activity
. Well, i think there might be some setup to disable the onCreate method from starting once the app is installed.
Upvotes: 1