I’m working on an android project that requires writing to a created database and later reading from it.
The idea is for the user to fill out a form and then submit, it will submit into a database table in the first row. Then if they hit submit again it will submit to the second row.
I have all of the activity layouts defined but I’m confused on how to make the databases. I’m thinking maybe I can make a content provider?
Can anyone advise me on what to do? All of the questions I look at on here skip the baby steps, and that’s what I need
First of all you dont need Content provider…Content provider is only need when you want to provide your data to other application…Its kind of central repository of data for other applications.
Now You have to use the SQLITE database in android…Since android support sqlite database..
Below link will guide you…
http://developer.android.com/training/basics/data-storage/databases.html