Android Open Source - PassPlus Backup Agent






From Project

Back to project page PassPlus.

License

The source code is released under:

Apache License

If you think the Android project PassPlus listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package com.diragi.passplus;
/*from   w  w w  .  j  a v a 2 s. co m*/
import android.app.backup.BackupAgentHelper;
import android.app.backup.SharedPreferencesBackupHelper;
import android.app.backup.FileBackupHelper;
import android.content.Context;
import android.content.SharedPreferences;
import android.preference.PreferenceManager;
import android.util.Log;
import android.app.backup.BackupManager;
import android.view.View;
import android.widget.Toast;

/**
 * Created by Joe on 7/10/14.
 */

public class BackupAgent extends BackupAgentHelper {

    //WORK IN PROGRESS

    static final String name_of_preferences = "com.diragi.passplus_preferences";
    static final String PREFS_BACKUP_KEY = "passPlus";

    @Override
    public void onCreate() {

        Log.d("Name of sharedPrefs", name_of_preferences);
        SharedPreferencesBackupHelper backupPrefs = new SharedPreferencesBackupHelper(this, name_of_preferences);
        addHelper(PREFS_BACKUP_KEY, backupPrefs);
    }



}




Java Source Code List

com.diragi.passplus.AboutActivity.java
com.diragi.passplus.ApplicationTest.java
com.diragi.passplus.BackupAgent.java
com.diragi.passplus.Backup.java
com.diragi.passplus.DriveBackup.java
com.diragi.passplus.Encrypt2.java
com.diragi.passplus.SettingsActivity.java
com.diragi.passplus.Upgrade.java
com.diragi.passplus.util.Base64DecoderException.java
com.diragi.passplus.util.Base64.java
com.diragi.passplus.util.IabException.java
com.diragi.passplus.util.IabHelper.java
com.diragi.passplus.util.IabResult.java
com.diragi.passplus.util.Inventory.java
com.diragi.passplus.util.Purchase.java
com.diragi.passplus.util.Security.java
com.diragi.passplus.util.SkuDetails.java
com.diragi.passplus.add.java
com.diragi.passplus.first.java
com.diragi.passplus.forgot.java
com.diragi.passplus.lock.java
com.diragi.passplus.main.java
com.diragi.passplus.passGen.java
com.diragi.passplus.passView.java
com.diragi.passplus.themeCheckPref.java
com.diragi.passplus.themeCheck.java