How to properly format a "01/01/2014" format date into "dd MM yyyy", please ?
I've tried to surround this via this instruction:
String dateStr = new SimpleDateFormat("dd MM yyyy").parse("01/01/2014").toString();
But, an error message triggers on this line saying :
FATAL EXCEPTION: main java.lang.NullPointerException at com.mypharmacy.app.DrugAdd$3.onClick
How to deal with this?