@ Override public void saveToken ( Token token ) { set ( ACCESS_TOKEN_TOKEN_PREF , token . getToken ( ) ) ; set ( ACCESS_TOKEN_SECRET_PREF , token . getSecret ( ) ) ; }
Save the token using java preferences .