当我在API描述中检查getSharedPreferences(String,int)时,Second属性定义了可访问性模式,默认操作可以采用0或MODE_PRIVATE,MODE_WORLD_READABLE和MODE_WORLD_WRITEABLE可以控制权限.
但API描述中有一个小注:
Note: currently this class
(android.content.SharedPreferences)
does not support use across multiple
processes. This will be added later.
此外,在Mark L. Murphy的书“开始Android 2”中他提到:
(Eventually,preferences might be
shareable across applications,but
that is not supported as of the time
of this writing)
我很困惑!这是否意味着getSharedPrefrences的MODE_WORLD_READABLE和MODE_WORLD_WRITEABLE存在,但在最新的API级别中没有支持YET ???
谢谢!
米泔