Or, if you are working with the SQLiteOpenHelper base class, then you
could export your DB to a text file (including CREATE TABLE, INSERT,
etc.), place this in your "assets" folder and import the file in the
overridden "onCreate" method of SQLiteOpenHelper.

-- André
http://android.rabold.org


On 10 Jul., 14:26, Cezar Augustus Signori <cezarsign...@gmail.com>
wrote:
> You could put it in your app raw directory.
>
> On Jul 10, 4:38 am, Tez <earlencefe...@gmail.com> wrote:
>
> > Hi,
>
> > I have an SQLite DB file. I wish to include the sqlite file with my
> > apk. How do  i do that?
>
> > Cheers,
> > Earlence
--~--~---------~--~----~------------~-------~--~----~
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