Chapter 26. Upgrading SQLite – Adding Locations and Maps
Now that we know how GPS and Google Maps work together, we will look at another approach to using them. To achieve this, we will need to make minor modifications throughout the app, but we will see how to do this and still allow the existing users to keep their data.
In this chapter, we will:
- Update our database code, which will result in the users of our app getting an updated database
- Add code to the
Photo
class to handle location information about where in the world a photo was taken - Upgrade the code in
CaptureFragment
andViewFragment
to give the functionality we are aiming for