[android-developers] Re: Prefill databases

2010-07-18 Thread Naseer
Create an assets directory and put it there.
Here is a nice tutorial that explains it -
http://www.reigndesign.com/blog/using-your-own-sqlite-database-in-android-applications/

-Naseer



On Jul 19, 11:08 am, Jaap  wrote:
> OK, but where do I need put it in the package?
>
> On Jul 19, 4:07 am, DanH  wrote:
>
> > Again, I say, what's your problem -- do you need to know how to fill
> > the database, or how to include it in your app?
>
> > A SQLite database consists of a single file on the PC or phone, and is
> > portable between them, so you can use any of a dozen methods to fill
> > the database file and then install it with your app.
>
> > On Jul 9, 3:10 pm, Jaap  wrote:
>
> > > Hi,
>
> > > I have a program that needs a fixed database to do lookups of some
> > > data. Is there a way to easily fill such a database by just putting
> > > the data in a file or so
>
> > > Thanks
>
> > > Jaap
>
>

-- 
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


[android-developers] Re: Prefill databases

2010-07-18 Thread Jaap


OK, but where do I need put it in the package?


On Jul 19, 4:07 am, DanH  wrote:
> Again, I say, what's your problem -- do you need to know how to fill
> the database, or how to include it in your app?
>
> A SQLite database consists of a single file on the PC or phone, and is
> portable between them, so you can use any of a dozen methods to fill
> the database file and then install it with your app.
>
> On Jul 9, 3:10 pm, Jaap  wrote:
>
> > Hi,
>
> > I have a program that needs a fixed database to do lookups of some
> > data. Is there a way to easily fill such a database by just putting
> > the data in a file or so
>
> > Thanks
>
> > Jaap

-- 
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


[android-developers] Re: Prefill databases

2010-07-18 Thread DanH
Again, I say, what's your problem -- do you need to know how to fill
the database, or how to include it in your app?

A SQLite database consists of a single file on the PC or phone, and is
portable between them, so you can use any of a dozen methods to fill
the database file and then install it with your app.

On Jul 9, 3:10 pm, Jaap  wrote:
> Hi,
>
> I have a program that needs a fixed database to do lookups of some
> data. Is there a way to easily fill such a database by just putting
> the data in a file or so
>
> Thanks
>
> Jaap

-- 
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


[android-developers] Re: Prefill databases

2010-07-18 Thread Jaap
Hi the link you provided does not work. Can you provide the right link
please?

Thanks

Jaap

On Jul 10, 11:07 am, vineet  wrote:
> See this link..
> it may 
> helphttp://vineetyadav.com/tutorials/11-adding-prefilled-sqlite-database-...
>
> On Jul 10, 1:10 am, Jaap  wrote:
>
> > Hi,
>
> > I have a program that needs a fixed database to do lookups of some
> > data. Is there a way to easily fill such a database by just putting
> > the data in a file or so
>
> > Thanks
>
> > Jaap

-- 
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


[android-developers] Re: Prefill databases

2010-07-10 Thread vineet
See this link..
it may help
http://vineetyadav.com/tutorials/11-adding-prefilled-sqlite-database-to-android-app.html


On Jul 10, 1:10 am, Jaap  wrote:
> Hi,
>
> I have a program that needs a fixed database to do lookups of some
> data. Is there a way to easily fill such a database by just putting
> the data in a file or so
>
> Thanks
>
> Jaap

-- 
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