Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Accessing .sqlite file in Android 2.1

I have a .sqlite file with one table in it. i want to access this data. Please tell me, 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..

like image 299
manidhar mulaparthi Avatar asked May 26 '26 02:05

manidhar mulaparthi


1 Answers

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

like image 176
Ricardo Villamil Avatar answered May 27 '26 15:05

Ricardo Villamil



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!