I want to create a database for my android app.
At first, I want create it fully and then I will use it on my android project.
I can make sqlite database in SQLite IDE (sqlite database browser).
But I want to create it programmatically.
Because I will fetch data from a text file and push it to database.
It will be very fast and easier than IDE to make a database.
So my question, is there any way to make a SQLite database without SQLite database IDE in general java project (not specific to android) and what is that?
Thanks in advance.
Sorry for my bad English.
-
2See stackoverflow.com/a/41241/982149Fildor– Fildor2014-02-13 11:23:04 +00:00Commented Feb 13, 2014 at 11:23
-
1look at this stackoverflow.com/questions/4398575/…rajshree– rajshree2014-02-13 11:26:16 +00:00Commented Feb 13, 2014 at 11:26
Add a comment
|
2 Answers
You basically would just need to include the appropriate connection jars in your project and implement your own C.R.U.D. operations. A quick google search comes up with a a bunch of good tutorials. Here's a basic one to start with.
Comments
You should look at this project https://bitbucket.org/xerial/sqlite-jdbc. I've used it in several projects. very good.