There are many ways to store data in Android. These libraries will help working with each of these types faster and more efficient. Continue reading “Android Database Libraries”
Sugar ORM is a database persistence library that provides a clear and simple APIs for SQLite database operations. Sugar ORM is simple and easy to setup compared to other Android ORM libraries like ActiveAndroid or DBFlow.
The below guide works with Sugar ORM 1.4. Versions before 1.4 has a different way of defining a model.
Continue reading “Working with Sugar ORM”
ActiveAndroid is a simple-to-use Object Relational Mapper library, which maps java classes to database tables and java class member variables to the table columns. Each row in a table will become an object. This will help developer create, update, delete and select data from SQLite database using model objects without using raw SQL queries. Continue reading “ActiveAndroid Tutorial: Working with the Library”
Android provides many ways to store data. However, SQLite database is most commonly used in apps which require large data storage.
greenDAO is an Android ORM library which offers an object oriented interface to work with date in SQLite. The library also provides advanced ORM features such as session cache, eager loading, and active entities. It is also claimed to insert, update and load data at rates of several thousand entities per second.
devteam83 introduces how to work with greenDAO in a series of 4 posts. It is the most detailed tutorial about greenDAO I’ve found.
Continue reading “[Tutorial Highlight] Tutorial – greenDAO From Scratch”
When your app requires lots of database activities, using an ORM is the best way to reduce your workload so you can focus on other aspect of the app.
I hope you can choose a suitable Android ORM after reading this post.
Continue reading “5 Best Android ORM Libraries to Use”