Java 类android.app.backup.BackupHelper 实例源码

项目:v2ex-android    文件:BackupAgent.java   
public void onCreate() {
    super.onCreate();

    BackupHelper helper = new SharedPreferencesBackupHelper(this, PREFS_PREF);
    addHelper(PREFS_BACKUP_KEY, helper);
}