Shared preferences between two processes of the same application
I'm writing an Android app that contains both UI and separate processes running. I want to share simple information between the main process and a service defined in my application that is executed in a different process. I find to messy to use AIDL for inter-process communication for this purpose. The question is: Is it safe to use Shared Preferences of the application for communicating between this two processes? This is: both read and write the same shared preferences. I'm wondering if it actually works. In android developers reference about shared preferences (http://developer.android.com