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:
- Is it a good practice to have one worker thread synchronizing two applications's files on the server ?
- 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.