Ray's playground

 

Using Preferences(Beginning Android)

To get access to the preferences, you have three APIs to choose from:
• getPreferences() from within your Activity, to access activity-specific preferences
• getSharedPreferences() from within your Activity (or other application Context), to access application-level preferences
• getDefaultSharedPreferences(), on PreferencesManager, to get the shared preferences that work in concert with Android’s overall preference framework

 

 

posted on 2010-01-29 23:32  Ray Z  阅读(268)  评论(0编辑  收藏  举报

导航