开发者

Accessing .sqlite file in Android 2.1

开发者 https://www.devze.com 2023-01-06 00:30 出处:网络
I have a .sqlite file with one table in it. i want to access this data. Please tell m开发者_开发百科e, where to copy this .sqlite file (in eclipse project) and how to access the data from this .sqlite

I have a .sqlite file with one table in it. i want to access this data. Please tell m开发者_开发百科e, where to copy this .sqlite file (in eclipse project) and how to access the data from this .sqlite file.

please suggest some code or liniks.. [i am using Android 2.1, dont know the database version..]

Thank you..


Here are a few articles that explain exactly that ;)

http://www.helloandroid.com/tutorials/how-have-default-database

http://www.reigndesign.com/blog/using-your-own-sqlite-database-in-android-applications/

Include a database file with Android application via Eclipse

0

精彩评论

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