Android Fundamentals: Content Providers
A ContentProvider is the building block of Android similar to the Activity, Service, or BroadcastReceiver. It allows apps to securely share private data to other apps and manages the access to the central repository of data.
What you'll learn
Android Framework provides developers with four components: Activity, Service, BroadcastReceiver, and ContentProvider. This course, Android Fundamentals: Content Providers, talks about how ContentProvider helps an application manage access to data stored by itself and provides a way to share data securely with other apps. Content providers are the standard interface that connect data in one process with code running in another process. This course starts with overview of ContentProvider and letting you design a structured data storage such as SQlite database from scratch. With the help of ContentProvider you'll then perform CRUD operations on SQlite database. Further, you'll explore how to share app's private data securely with some other apps using ContentProvider. At the end of the course, you'll use the concept of Android Permissions to enhance application security.
Table of contents
- Implementing ContentProvider Subclass with It's Abstract Methods 4m
- Authority String, Content URI, and URI Patterns 9m
- Declaring Content Authority and Content URI in Contract Class 6m
- Declaring URI Patterns Using UriMatcher 6m
- Insert Operation Using ContentProvider and ContentResolver 7m
- Query Operation Using ContentProvider and ContentResolver 8m
- Exploring More on Query Operation 4m
- Summary 2m
- Module Overview and Demo Scenario 3m
- Initial Project Setup 6m
- Making android:exported="true" 5m
- Using Read and Write Permissions to Enhance App's Security 9m
- Performing Delete and Update Operation from Outside Application 2m
- Summary: Demo Scenario 2m
- Contacts Provider, Calendar Provider, and File Provider 2m
- References: Android Permissions 2m