Hi,
I'm a new Android developer. I'm using SharedPreferences to store some application settings. While I understand most of the usage scenarios and related APIs, MODES are still a mystery for me:
1) Most of the books that I have read say that SharedPreferences cannot be shared across applications. Yet, there are modes:
2) MODE_MULTI_PROCESS looks like a feature to be added in the future. Am I right? Because the api documention for class SharedPreferences says: "currently this class does not support use across multiple processes. This will be added later".
I'm a new Android developer. I'm using SharedPreferences to store some application settings. While I understand most of the usage scenarios and related APIs, MODES are still a mystery for me:
1) Most of the books that I have read say that SharedPreferences cannot be shared across applications. Yet, there are modes:
- MODE_WORLD_READABLE(allows all other applications to have read access to the created file).
- MODE_WORLD_WRITABLE (allows all other applications to have write access to the created file)
2) MODE_MULTI_PROCESS looks like a feature to be added in the future. Am I right? Because the api documention for class SharedPreferences says: "currently this class does not support use across multiple processes. This will be added later".