JB0x2D1
JB0x2D1

Reputation: 920

Is it possible to install an app on Eclipse AVD and not run it?

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

Answers (3)

RajSharma
RajSharma

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

LeChiffre
LeChiffre

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

james jelo4kul
james jelo4kul

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

Related Questions