开发者

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开发者_C百科 on disk and eclipse sends me an error.

Any suggestion is welcome. Thanks.


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜