public static String getUserId(Context context) { return UTools.Storage.getSharedPreferences(context, UConstants.BASE_PREFS_NAME) .getString(UConstants.SELF_USER_ID, ""); }
/** * @author liananse * @param context * @return 2013-7-7 */ public static String getAccessToken(Context context) { return UTools.Storage.getSharedPreferences(context, UConstants.BASE_PREFS_NAME) .getString(UConstants.SELF_ACCESS_TOKEN, ""); }