android - What does it mean "the content provider can be instantiated by the system"? -


a few times in android's components i've encountered sentence

... can instantiated system

in particular here

whether or not content provider can instantiated system — "true" if can be, , "false" if not

so mean regard content provider? (btw content provider component new me - know other android components)

  1. when can happen content provider instantiated system?
  2. why can happen?
  3. what benefit app gets by-system instantiation?

all android application components activity, service, contentprovider , broadcastreceiver(except dynamic) instantiated system when ever request comes.

ex:

activity instantiated system when ever calls startactivity() intent

similarly, contentprovider instantiated system when request access data provided contentprovider using contentresolver.query or contentresolver.insert passing respective uri.


Comments

Popular posts from this blog

Ansible - ERROR! the field 'hosts' is required but was not set -

customize file_field button ruby on rails -

SoapUI on windows 10 - high DPI/4K scaling issue -