Home > Articles > Home & Office Computing > Entertainment/Gaming/Gadgets

  • Print
  • + Share This
Like this article? We recommend

Like this article? We recommend

So What to Choose?

The first question to ask is this: "Does my data need to be shareable?" Not all data needs to be shared and you might prefer ODBMS. If you are in doubt, I suggest sticking to the bundled SQLite.

Using content providers is very handy because you can define the activities working on your data via the AndroidManifest file. It enables a clear view, within a single file, of the action for each activity on a set of data. Querying and manipulating data gets trivial as well.

The Android platform also provides a set of helper methods and classes that use cursors; they can help the rapid development of your application and stay consistent with the rest of the system. Developing with the future in mind, content providers allow others to create applications that take the advantage of your application's data.

  • + Share This
  • 🔖 Save To Your Account