0

I have two apps that generate some files, I would like these files to be synchronized on a server. To avoid code duplication I'm creating only one background worker thread to synchronize these files. At this point I have two independent question:

  1. Is it a good practice to have one worker thread synchronizing two applications's files on the server ?
  2. Let's say the worker thread is in app1 how can app1 access app2's files ?

I made some research I've found that ContentProvider would be a good way to do it if I was using a Database.

M'hamed
  • 2,508
  • 3
  • 24
  • 41

0 Answers0