On Dec 17, 5:09 pm, Alain <[email protected]> wrote: > 1. How does one split an App that requires overs 10MB when the code is > combined with thedata, into two APKs, one APK for the code to make > it as small as possible and the second APK for the 10MBdatafile. H
There are multiple possibilities. The first that came into my mind is: Make 'data' APK as content provider, which provides data from data files packaged with it. Then make 'logic' APK to make it own data store (e.d. SQLite database) and populate it with data obtained by querying 'data' APK as content provider. > 2. How does an App split into two get loaded on the Market. No idea. Probably as 2 separate applications. > On Dec 11, 2:59 pm, WoodManEXP <[email protected]> wrote: > > > Several of my apps have hugedatafiles, like 20mB or more. One > > technique is to download the compresseddatafilewhen the app first > > starts. Store it on secondary store and access it with regular java IO > > classes (Unfortunately Java IO is really, really slow because it is so > > strung out on being type safe). So you kinda need to design around > > that. But otherwise the Android is quite capable of dealing withlarge > >datafiles. Definitely do not loaddatain the APK. It is best to keep > > the APK small as possible. > > > On Dec 10, 12:03 pm, Andriy Tsykholyas <[email protected]> > > wrote: > > > > Hi, > > > > My application needs to intensively manipulate (read-write) on some > > > structured textdata. The size of thedatais significant ~1Mb. And > > > there is initialdataavailable for the user to start with. > > > > My idea is to put thisdataas afilein the .apk. Then, on initial > > > application launch to read thisdataand populate Android SQLite > > > database with it. Then just work with this database. But after the > > > database is populated thedatafileis no longer needed. And I'd like > > > to remove it to free some memory. > > > Alternate approach is to work with thisdatafileinstead of SQLite > > > database. But I assume SQLite would work a magnitude faster then i/o > > > on mydatafile... > > > > My questions are: > > > 1) Is this approach OK? :) > > > 2) Is it possible to delete thefilewhich comes with .apk at all? If > > > yes, where to put it in Eclipse project? > > > > Thanks in advance, > > > > Andriy > > -- 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

