QuizExample App (Content Provider + SQLite)

github: T0801-AddTheContentProviderPermission , T0802- AddAsyncTaskToRetrieveCursorT0803-FinishQuizExample

* The screenshots in the blog are from the Udacity Nanodegree Program: Become an Android Developer *

Screen Shot 2017-10-16 at 4.04.02 PM.png

General Steps for ContentProvider

  1. Get permission to use the ContentProvider.
  2. Get the ContentResolver
  3. Pick one of four basic actions on the data: query, insert, update, delete
  4. Identify the data you are reading or manipulating to create a URI
  5. In the case of reading from the ContentProvider, display the information in the UI



Screen Shot 2017-10-11 at 2.30.32 PMScreen Shot 2017-10-11 at 2.30.52 PM

Screen Shot 2017-10-11 at 1.48.44 PM

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s