开发者

To store and retrieve from sqlite file ( android programming )

开发者 https://www.devze.com 2022-12-19 07:33 出处:网络
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

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 (frankshiva@gmail.com)


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消