Can Shared Preferences be private?
问题 From the name alone, I am guessing that Shared Preferences are... shared among apps? That is, even if my app defines and creates them, any app on android can access them. Is this correct? (If this isn't correct, then why does the Data Storage Dev Guide emphasize Internal Storage as "Store private data"?) If this is correct, can I modify this default behavior so that a preference is only visible from the app in which I define and create it? If so, how do I do that? 回答1: If i'm correct you can