Not the best solution, but may save your users some memory:
Have 2 versions of the software, one with the database and
one without.  After the database is installed, have the user
download the new version wothout the database.  You could have a menu
item in the large application that downloads the smaller one.

On Jan 22, 9:05 am, jsm <mamm...@gmail.com> wrote:
> Even if you had the import feature, the user would still need to get
> the 800k data...from somewhere either online or from the device?
>
> Sorry if I did not understand your problem...
>
> On Jan 22, 6:59 am, Svend Erix <svenderiknyga...@gmail.com> wrote:
>
>
>
> > Thanks for the clear answer - yes the restriction mentioned is
> > important to me :-)
>
> > On Jan 22, 1:52 am, Mark Murphy <mmur...@commonsware.com> wrote:
>
> > > Svend Erix wrote:
> > > > My application may consist og 100Kb code and 800 Kb Database content.
> > > > If I include a datafile with the 800Kb data and import it into an
> > > > SQLite database under the initial run of the applcation, I cannot
> > > > delete the data file afterwards and my application will take up 800 Kb
> > > > unnecessarily.
>
> > > Technically, if that's 800KB pre-compression, your actual storage
> > > footprint will be smaller, since your datafile will be compressed the APK.
>
> > > > Is there a better way to include/import my data....?
>
> > > Not at this time, at least given your following restriction:
>
> > > > (I want my application to not depend on being online after download -
> > > > so the data should be downloaded with the application.)
>
> > > --
> > > Mark Murphy (a Commons Guy)http://commonsware.com
> > > Android Training in Sweden --http://www.sotrium.com/training.php- Hide 
> > > quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to