Content
Providers
• Generic
interface
that
let
you
share
data
BETWEEN
APPLICATIONS
• Accessed
using
URI
model
• Shared
content
can
be
queried
for
results
as
well
as
supporAng
wriAng
access
– i.e.
other
applicaAons
can
modify
the
content

• Extension
of
your
data
for
other
applicaAons

Content
Resolvers
• Handled
by
the
“ContentResolver”
class
• Transact
and
query
Content
Providers
• Each
applicaAon
has
a
single
ContentResolver
– Accessed
using
the
“getContentResolver”
method

• AcAvity
specify
the
provider
to
interact
using
a
URI

Content
URI
A. Standard
preﬁx
indicaAng
that
the
data
is
controlled
by
a
content
provider.
It's
never
modiﬁed
B. Authority
part
of
the
URI
C. The
path
that
the
content
provider
uses
to
determine
what
kind
of
data
is
being
requested
D. The
ID
of
the
speciﬁc
record
being
requested,
if
any.