I have a Service that downloads data from the Internet in AsyncTasks. It parses the data and store it in a db. The Service runs continuously.
There is a change that a Activity attempts to read from the db while the Service is writing to it.
I have a database helper with several methods for writing and reading. Could this cause problems? Potentially trying to open the db from two different threads?