Chapter 14

Getting Persistent with Data Storage

In This Chapter

  • Discovering data-storage media
  • Getting user permissions
  • Creating an SQLite database
  • Querying your database

Most applications these days require you to save information for later use. The Task Reminder application would not be that useful if it did not save the tasks, now would it? Thankfully, the Android platform — in combination with Java — provides a robust set of tools that you can use to store data.

This chapter delves deeply into creating and updating an SQLite database. Although in this chapter I explain the steps necessary to do these things, I do not provide a lot of database theory. If you're not familiar with the SQL language or the SQL database, I advise you to review the SQLite website for more information: www.sqlite.org.

This chapter is also very code intensive, and if you find yourself getting lost, feel free to reference the completed application source code — available online at this book's companion website.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.147.74.211