Easiest way to implement SQLite on Android app

  • Replies:0
Zoudan
  • Forum posts: 8

Feb 9, 2015, 9:03:25 AM via Website

Hello everybody!

I am just developing my first app, and I need a SQLite database, that I have already implemented just using 3 fields to test (name, surname, moreInfo) and it is working (yeah!) but I implemented the getters/setters, the onCreate where I check if the table exists and, if it does not, create it, and every CRUD action else (update, delete, etc.).

Now I am wondering, since there are a lot of different places where I wrote the fields, the queries, the variables... and I need a really large database with much more fields... there isn't any other way to do that? I guess I can get it working (if it works with 3 it has to work with more) with some time but just hesitating if I should do it this way.

By the way, any better method to debug the database than having a look to the LogCat?

Thank you so much in advance!!

Reply