I wonder what\'s wrong with my code below:
// Assign hour set in the picker c.set( Calendar.HOUR, selectedHour ); c.set( Calendar.MINUTE, se
Use this to check for AM or PM.
c.get(Calendar.AM_PM);
See here for documentation Calendar.AM_PM
hour = c.get( Calendar.HOUR ); minute = c.get( Calendar.MINUTE ); hour = c.get( Calendar.HOUR_OF_DAY );
You are setting hour again after it was already set.
hour