Chapter 24. Adding a Database to Where It's Snap

In this chapter, we will be entirely focused on using all we know about fragments, interfaces, and SQLite in order to add significant functionality to Where it's Snap.

We will cover the following tasks:

  • Building a new class to represent a photo
  • Creating a DataManager class to handle our database, including a selection of helper methods to make the appropriate queries
  • Enabling the saving of photos into the database from the FragmentCapture class
  • Coding an interface to handle communications
  • Coding TagsFragment to show a list of tags and sending a tag to MainActivity when one is clicked
  • Coding TitlesFragment to show a list of titles either based upon a specific tag or the entirety of wis_tables_photos
  • Coding ...

Get Android Programming for Beginners now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.