is it possible to change the timepicker from am/pm to 24h mode?
on iPhone this is linked to the 'International' settings of the simulator. You can changed it in the Settings menu on your iPhone simulator. Not sure about Android though.
Up? Did someone manage to change the time picker to 24h mode ?
The examples from Kitchen Sink show AM/PM even tough my Android phone uses french settings.
I'm developing an application for my school and it would be really weird for the students here to have to pick a time choosing between AM or PM :(
You cannot programmatically control the Display of time in AM/PM or 24hrs …
Quick Solution is to prompt the user to set 24hr format via Settings->General->Date & Time->24-Hour Time.->on
Ok, I found a workaround for android by using the 'useSpinner' property of the picker to true. Indeed, I don't know why, but the spinner can display the time in 24hours mode :)