1

Does both ContentProvider and ContentResolver application need to be in memory to communicate?

Two applications are different and using permission to read and write.

Sergey
  • 7,985
  • 4
  • 48
  • 80
ak0692
  • 233
  • 2
  • 13

1 Answers1

1

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.

CommonsWare
  • 986,068
  • 189
  • 2,389
  • 2,491