Bog'liq Bailey J., Dominguez A., Djermanovic D. - Saving Data on Android (1st Edition) - 2019
Challenge: Crea/ng a client For an additional, interesting challenge, make a copy of the app you just created that
creates a content provider and see if you can remove the database and transform it
into a client that utilizes the content provider.
Challenge Solu/on: Crea/ng a client It is easy to create a client app that utilizes the provider you just created in the
previous steps. You can achieve this by making a copy of the provider app and
deleting the database and content provider from it. This proves the content provider
is shared with an external app. The steps are as follows:
1. Locate your finished contentprovider app in the file system and make a copy of
the project folder. Append the word
client to the name of the folder so you can
tell the difference between the two apps. For example copy the starter folder and
call the resulting copy
starter_client .
Saving Data on Android Chapter 4: ContentProvider raywenderlich.com 87