(I'm reposting this response because I think I accidentally replied
only to the original author.)

Archana,

So you have a pre-populated database that you'd like included with the
application upon installation?

I'm not sure what the preferred solution is for this, but it might be
possible to accomplish this via a "raw resource".

In general, a raw resource is a file that can be bundled with your
application and accessed via: R.raw.*

See: http://developer.android.com/guide/topics/resources/resources-i18n.html

I assume that you've already gotten SQLite to work in general.  If
not, I highly suggest the Notepad tutorial, which is a great primer:
http://developer.android.com/guide/tutorials/notepad/index.html

Hope this helps!
-- PJ


On Nov 3, 6:55 am, Archana <archana.14n...@gmail.com> wrote:
> Hi..
>
>           Can anybody tell me whether android support file
> with .sqlite extension?
>
> how can we add this file to our project.?is it same as .db file?i have
> one file with .sqlite extension.I need to fetch
>
> data from that. i dont understand how to add it.Please help.


On Nov 3, 6:55 am, Archana <archana.14n...@gmail.com> wrote:
> Hi..
>
>           Can anybody tell me whether android support file
> with .sqlite extension?
>
> how can we add this file to our project.?is it same as .db file?i have
> one file with .sqlite extension.I need to fetch
>
> data from that. i dont understand how to add it.Please help.

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