title: Android:Changing time format as per the Device's Current time format
body: <p>How to get current time format of the android device? i.e. If the android device's current time format is changed from 12hr to 24 hr format and vice versa, then how to check that setting programatically?</p>
  
  <p>I want to change the time shown in my app widget to be of same format as the device's and whenever the time format is changed then my widget should also show that time format. Any pointers will be helpful.</p>
  
  <p>thanks.</p>