OK, I found a thread dealing with this option ("Including SQLite
database with application")

On Jan 22, 10:37 pm, Svend Erix <svenderiknyga...@gmail.com> wrote:
> I just got an idea: Anyone know if and how the following could be
> done:
>
> Can I create the SQLite DB (a single SQLite file) and then include it
> in my APK and connect to it? - or is the SQLite DBs in an android
> application shielded from such a solution.
>
> 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
--~--~---------~--~----~------------~-------~--~----~
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