// Path: app/src/main/java/cn/libery/calendar/MyApp.java
// public class MyApp extends Application {
// 
//     private static MyApp myApp;
// 
//     @Override
//     public void onCreate() {
//         super.onCreate();
//         myApp = this;
//     }
// 
//     public static MyApp getInstance() {
//         return myApp;
//     }
// }


import android.content.Context;
import android.content.SharedPreferences;
import android.preference.PreferenceManager;
import cn.libery.calendar.MyApp;
package cn.libery.calendar.utils;



/**
 * SharedPreferences辅助类
 */
public class SharedPreferUtil {

    private static final String VERSION_CONTACTS = "sp_key_version_contacts";

    private static SharedPreferences getSharedPreferences() {
// Path: app/src/main/java/cn/libery/calendar/MyApp.java
// public class MyApp extends Application {
// 
//     private static MyApp myApp;
// 
//     @Override
//     public void onCreate() {
//         super.onCreate();
//         myApp = this;
//     }
// 
//     public static MyApp getInstance() {
//         return myApp;
//     }
// }


// Path: app/src/main/java/cn/libery/calendar/utils/SharedPreferUtil.java
import android.content.Context;
import android.content.SharedPreferences;
import android.preference.PreferenceManager;
import cn.libery.calendar.MyApp;

package cn.libery.calendar.utils;



/**
 * SharedPreferences辅助类
 */
public class SharedPreferUtil {

    private static final String VERSION_CONTACTS = "sp_key_version_contacts";

    private static SharedPreferences getSharedPreferences() {
        Context ctx = MyApp.getInstance();