I am new to Android, and I haven’t developed any app regarding databases on Android yet. So I have a few basic questions. I am after a good database class sample, that will let me to run the CRUD operations. I would like to use it as a static class like:
clsDB->Select("select * from clients");
or
objClient->Delete(clientid);
I am wondering if someone, can share his database classes, if more people share the best.
Also I have in mind to reuse this class in multiple ways, I will have services, activities etc…
Regards,
Pentium10
The SDK provided Notebook tutorial will walk you through the basics of using the SQLite database ORM provided on the system in the way you describe.