Home > Mobile >  App2 is several ContentProvider, how to start the ContentProvider app2 in app1
App2 is several ContentProvider, how to start the ContentProvider app2 in app1

Time:02-23

App2 is several ContentProvider, how to start the ContentProvider app2 in app1

CodePudding user response:

Try this https://blog.csdn.net/qq_22158031/article/details/51494039

CodePudding user response:

ContentProvider need not, also do not have explicitly by the APP starts,
In the case of CRUD operations, AMS if found target ContentProvider is not started, after start the ContentProvider, to CRUD calls,
If ContentProvider's process has not started, also need to start the process of its host, and then start the ContentProvider,

CodePudding user response:

refer to the second floor jzp12 response:
ContentProvider need not, also do not have explicitly by the APP starts,
In the case of CRUD operations, AMS if found target ContentProvider is not started, after start the ContentProvider, to CRUD calls,
If ContentProvider's process has not started, also need to start the process of its host, and then start the ContentProvider,

What is the host process? Don't I open an empty in app2 activity by app1 jump to app2?
  • Related