On callback from 
public void onTimeSet(TimePicker view, int hourOfDay, int minute) 
call below function
private String getTime(int hr,int min) {
        Time tme = new Time(hr,min,0);//seconds by default set to zero
        Format formatter;
        formatter = new SimpleDateFormat("h:mm a");
        return formatter.format(tme);
    }
The functions return something like this 1:12 PM