I want to know the current device time format, meaning 24 hour/ 12 hour format.
Please let me know how can I determine that.
Are there any API there to determine this?
String value = android.provider.Settings.System.getString(context.getContentResolver(), android.provider.Settings.System.TIME_12_24);
Updated Answer, you should use this instead of the above, as above could give back a null value:
DateFormat.is24HourFormat(context)