public void addAction(String action){
  Object[] args=new String[1];
  SimpleDateFormat sdf=new SimpleDateFormat(context.getString(R.string.dateFormat));
  args[0]=sdf.format(new Date());
  String timestamp=context.getString(R.string.timestamp,args);
  history.add(action + timestamp);
  notifyListeners(new PropertyChangeEvent(this,ActivityConstants.historyProperty,null,null));
}

public void addAction ( String action ) { Object [ ] args = new String [ 1 ] ; SimpleDateFormat sdf = new SimpleDateFormat ( context . getString ( R . string . dateFormat ) ) ; args [ 0 ] = sdf . format ( new Date ( ) ) ; String timestamp = context . getString ( R . string . timestamp , args ) ; history . add ( action + timestamp ) ; notifyListeners ( new PropertyChangeEvent ( this , ActivityConstants . historyProperty , null , null ) ) ; }
add an action to the history of the client
