Reputation: 233
Does both ContentProvider and ContentResolver application need to be in memory to communicate?
Two applications are different and using permission to read and write.
Upvotes: 1
Views: 42
Reputation: 1006614
Yes. However, if an app makes a request using a ContentResolver
, and the provider's app is not running, Android will start up a process for that app to create the provider, to be able to respond to the request. So, by the time the communication completes, both processes will be running.
Upvotes: 1