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.
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.
Sriyank is a passionate software developer and loves to share his knowledge through his blogs and video courses. He follows "share and gain" principle which led him to publish many courses online. Though he has a deep love for Android he also specializes in other mobile app platforms such as iOS and also web development frameworks such as Laravel. He started his journey of sharing knowledge by holding hands-on workshops in various top level Indian Institutes such as NITs and IITs which eventually made him the speaker of one of the Google Developers Groups India which further supported his workshops in many more institutions. Currently Sriyank is working as freelance software developer and a proud online trainer. Apart from this, he loves to travel and explore new places.
Course Overview Hi, this is Sriyank Siddhartha and I welcome you all to my fundamental course of Android content providers. I am a techie and love to share knowledge that I have in my head. I believe sharing knowledge is the best way to gain knowledge as well, and today I will share all the fundamental concepts related to the Android content provider with you all. It's always been a big pain as a big nerd to understand the limitations of the SQLite database content provider and also enhance the application's security by using the content provider inside our application. The content provider is one of the building blocks of Android, similar to an activity, service, and also the broadcast receiver. If you are looking to leverage your Android knowledge related to the SQLite and sharing of files using the content provider, then this course is your final stop. Some of the major topics that this course covers include, introduction to the content provider, designing of the SQLite database from scratch, performing create, insert, update, and delete operation using the content provider, exploring loaders and its related classes and interface, such as the cursor loader and cursor adaptor, and at last, we're going to check out how do we expose the application's data, using the content provider, to some other application using the concept of Android permissions. And we are going to check out each and every topic in this course with the help of demo application that will be created from scratch. The prerequisite for this course is not at all demanding, all you need to know is the basics of Android, you should have the Android Studio installed in your system, and you should be able to run Android applications inside your emulator. By the end of this course, you will have a very strong foundation on the topic of content provider, so come join me and let's together explore the Android content provider in deep detail, only at Pluralsight.
Making the Most out of This Course Hi, this is Sriyank Siddhartha and welcome to the first module of this course of 'Android Fundamentals: Content Provider'. In this module, I will just let you know, how can you extract hundred percent out of this course. Now, initially, you must be worried about the prerequisites for this course. Now let me tell you one thing- you don't have to worry anything about the prerequisite. Since, this course it designed for the beginners, so we will talk about each and every concept in this course keeping in mind, the beginner level. Now, the only prerequisite for this course is that, you just have to make sure, you have Android Studio, installed in your system. And you should know the basics of the Android project structure, such as, 'what us a java file' 'what is the XML file', and also what is the 'Android Manifest. XML file'. Just the basics of Android project, and you're good to go. And at last, you should know how to run your Android application in an emulator. So these are the 3 basic requirements, to follow this beginner course of content provider. Now, the students who have already gone through the courses of Android Activities, Android Services and also the Broadcast Receivers, will have the plus point. But if you have not gone through these courses, then also please don't worry about it. You will understand each and every concept, that I am going to teach in the course, with crystal clarity. But if you have already gone through, these three courses then you will have the plus point for this course.
Exploring Miscellaneous Concepts Hi, this is Sriyank Siddhartha, and welcome to the next module of this course of Android fundamentals content provider. In this section, we are going to explore a few of the miscellaneous concepts related to the content provider in Android. So first of all, in this section, we will check out various concepts related to the loader APIs. Now under the loader APIs, we have various classes and interface. These classes and interfaces are CursorLoader, LoaderManager, and also LoaderManager. Callbacks interface. So we will explore each and every concept related to the loader API in detail, and also, we will check out what is a Cursor Adapter and also a subclass of SimpleCursorAdapter that is used to display the list of item by fetching data from the SQL database using the content provider.