How to access database / content providers with multiple processes in android.?

Thanks first for looking at my problem, I have a problem accessing Android ContentProviders using multiple processes.

The problem is that I created a ContentProvider class that will create the database. Now for this database I am writing something using the first process, and this is a synchronized process. Secondly, I have a second process that will read data from this ContentProvider at the same time. I cannot stop the second process until the first process is complete, because I need some data before embedding it in the ContentProvider.

How to do this, I need help ... Thanks again.

+4
source share

All Articles