I am getting the time using a time picker and displaying the time in the text view using following code...
private TimePickerDialog.OnTimeSetListener mTimeSe
private String getReminingTime() { String delegate = "hh:mm aaa"; return (String) DateFormat.format(delegate,Calendar.getInstance().getTime()); }