Adam Schmit
Adam Schmit

Reputation: 201

Install large android application directly on SD card

I am developing an application and because of the images is very heavy (around 25Mb). The problem is that I have not enough space in the phone memory to install it, but of course I have a lot of free space on the SD card.

I tried already with:

<manifest xmlns:android="http://schemas.android.com/apk/res/android"
android:installLocation="preferExternal"
... >

but it keeps saying me that I don't have enough space on disk and eclipse sends me an error.

Any suggestion is welcome. Thanks.

Upvotes: 2

Views: 3082

Answers (1)

Aleadam
Aleadam

Reputation: 40391

A good workaround is to trim down the APK and download the images upon first run, saving them directly to the sd card. You can provide in the APK low-res images to show while downloading the hi-res ones, if needed.

Upvotes: 4

Related Questions