public EncryptedEditor putInt(String key,int value){
  putValue(key,String.valueOf(value));
  return this;
}

public EncryptedEditor putInt ( String key , int value ) { putValue ( key , String . valueOf ( value ) ) ; return this ; }
set an int value in the preferences editor , to be written back once apply ( ) is called .
