sdk/src/com/socialize/api/PreferenceSessionPersister.java
@Override
	public synchronized void save(Context context, SocializeSession session) {
		SharedPreferences prefs = context.getSharedPreferences(PREFERENCES, Context.MODE_PRIVATE);
		
		Editor editor = prefs.edit();
		
		editor.putString("consumer_key", session.getConsumerKey());
		editor.putString("consumer_secret", session.getConsumerSecret());
		editor.putString("consumer_token", session.getConsumerToken());
		editor.putString("consumer_token_secret", session.getConsumerTokenSecret());

		editor.putString(SOCIALIZE_VERSION, Socialize.VERSION);
		
		String userProviderCredentials = jsonUtils.toJSON(session.getUserProviderCredentials());
		
		editor.putString(USER_AUTH_DATA, userProviderCredentials);	
		
		User user = session.getUser();
		UserSettings settings = session.getUserSettings();
		
		saveUser(editor, user, settings);

		editor.commit();
	}
@Override
	public synchronized void save(Context context, SocializeSession session) {
		SharedPreferences prefs = context.getSharedPreferences(PREFERENCES, Context.MODE_PRIVATE);
		
		Editor editor = prefs.edit();
		
		editor.putString("consumer_key", session.getConsumerKey());
		editor.putString("consumer_secret", session.getConsumerSecret());
		editor.putString("consumer_token", session.getConsumerToken());
		editor.putString("consumer_token_secret", session.getConsumerTokenSecret());

		editor.putString(SOCIALIZE_VERSION, Socialize.VERSION);
		
		String userProviderCredentials = jsonUtils.toJSON(session.getUserProviderCredentials());
		
		editor.putString(USER_AUTH_DATA, userProviderCredentials);	
		
		User user = session.getUser();
		UserSettings settings = session.getUserSettings();
		
		saveUser(editor, user, settings);

		editor.commit();
	}
/* (non-Javadoc)
@see com.socialize.api.SocializeSessionPersister#save(android.content.Context, com.socialize.api.SocializeSession)