Another possibility also mentioned elsewhere is to not include mp3 files in the apk, but store them on a server.
Your application downloads the mp3 files the first time it is launched, and saves them on the SD card. Then there is not much internal memory used, and you can still have a lot of data for your application. A sample application that demonstrates how to do it is available here: http://code.google.com/p/apps-for-android/source/browse/#svn/trunk/Samples/Downloader See also the readme: http://code.google.com/p/apps-for-android/source/browse/trunk/Samples/Downloader/README.txt Peli www.openintents.org www.openintents.biz On Jan 9, 1:55 pm, "Stoyan Damov" <[email protected]> wrote: > This question has been raised quite a few times here and on the web > and not ONCE I've seen a definitive answer from a Google employee on > the question "what's the maximum .apk size which will install on an > Android device with sufficient memory". The regular answers have > always been along the "make your app smaller, the device's memory is > shared" (well you should have thought about that before releasing > Android and making it possible to launch apps from the SD card, > right?), "re-encode your .mp3s", etc. I guess the only way to be sure > is to start adding files to your project, building the .apk and > checking whether it would install (that's what I'm planning to do > anyway). > > Re .mp3s, you surely can't expect the device to play a 48KHz .mp3 w/ a > 320kbps bitrate so you can safely drop the quality to say 32KHz @ > 128kbps and the user wouldn't notice it for sure. > > On Fri, Jan 9, 2009 at 2:35 PM, Mahesh Vaghela <[email protected]> wrote: > > AusR, > > Thanks a lot for your reply. > > > The sound quality is very much important to me as entire charm of my > > application depends on those music files. > > > But can anyone throw some light on storage limitation of android > > application? > > > Friends, this question will be important to us much more when market will > > allow paid application. So please start a discussion on this. > > > On Fri, Jan 9, 2009 at 1:10 PM, AusR <[email protected]> wrote: > > >> Hi, > > >> Are you sure the mp3s need to be of the quality and duration they are. > >> For the purposes of a mobile handset application, for which the audio > >> playback technology is not fixed they could be re-encoded with a lower > >> bit-rate (or shortened) without too much loss in audible quality. this > >> could reduce the file size significantly. > > >> (Just a suggestion) > > >> Aus. > > >> On Jan 9, 4:57 am, "Mahesh Vaghela" <[email protected]> wrote: > >> > Hi Friends, > > >> > I want to develop an application which can play sound (.mp3) files. I am > >> > able to play this as I wish. > > >> > But I am concern about the total file size of my application due to this > >> > mp3 > >> > files. I have total 6 mp3 files and total size of them becomes more than > >> > 30mb. > > >> > This is very large when we talk for android. (For Iphone it's not a > >> > large > >> > one!) > > >> > I have read that total allocated size for android application is just > >> > 128 or > >> > 256 MB only. > > >> > a) > >> > Is this information right (Or we can use more than this)? > > >> > b) What is the maximum application size google market allows for > >> > publishing > >> > an application? > > >> > c) Is there any way by which we can put our mp3 files on some other > >> > place? > > >> > Many thanks in advance. > > >> > Mahesh Vaghela > > >> >http://www.indianic.com > > > -- > > Mahesh Vaghela > >http://www.indianic.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

