Matteo Cardellini
Matteo Cardellini

Reputation: 896

How can I make testing on the device faster?

I have an application that is approximately 40 Mb.

Whenever I test my application on my Galaxy S I9000 it takes 1-2 minutes to download and another 1-2 minutes to install.

Can I upload only the part of code that I have changed?

Upvotes: 0

Views: 50

Answers (1)

Raghav Sood
Raghav Sood

Reputation: 82563

I'm guessing that in a 40 MB app, the majority of the space is taken up by images. One possible solution is to have your app download the images the first time it is run, instead of bundling them. This way, your apk will only contain the code and resources like the icon etc, and hence be greatly reduced in size. Also, you do not need to constantly re download the images every time you update the app.

When you publish the app, you could use expansion apks to distribute the images at the time of download, or host them on your own server and download them.

Upvotes: 1

Related Questions