September 2018
Intermediate to advanced
928 pages
24h 36m
English
In this chapter you learn how to create and use Content Providers as a consistent way to share, and consume structured data within and between applications by providing an abstraction from the underlying data storage technique.
You see how to query Content Providers asynchronously using Cursor Loaders, to ensure your application remains responsive while you retrieve data.
In Android, access to a database is restricted to the application that created it, so Content Providers offer a standard interface your applications can use to share data with, and consume data from, other applications—including many of the native databases.
Content Providers are used extensively ...
Read now
Unlock full access