To store and retrieve from sqlite file ( android programming )

1.4k Views Asked by At

I am using ganymade eclipse 3.4 IDE and android sdk for development . I am trying to store static database file with some values on it in sqlite format . How can I add this file into the IDE and fetch the data from that file and store it? Give me the guidance to do the development .

Thanks in advance.

Sivaramakrishnan ([email protected])

1

There are 1 best solutions below

0
Noah On

Put your SQLite database into your assets directory in eclipse. On first use copy to move it into the "/data/data/YOUR_PACKAGE/databases/" directory.