02-13-2013 11:08 AM
how is the QLocale::MeasurementSystem working? To me it seems that the value depends only the current language and not on the current setting of "Measurement System" in System Settings - Language and Input.
The Distance Measurement can be switch between Feet and Yard. Can I access this setting via QLocale too?
02-13-2013 11:12 AM
You can use https://developer.blackberry.com/cascades/referenc
I'm not aware of a way to retrieve the Feet/Yards switch yet, but I haven't looked for it at all either.
02-13-2013 11:24 AM
As far as I tested, changing the Region has no effect on QLocale::MeasurementSystem, only changing the language.
For example: If the language is German and the region United States, the QLocale::MeasurementSystem is still Metric. When changing the language to English, the QLocale::MeasurementSystem switches to Imperial.
For language English and region India (HIndi) the QLocale::MeasurementSystem is Imperial, which is wrong, as they are using Metric. At least in Language and Input Metric is shown.
08-13-2013 08:00 PM
Any news about this problem?
I think this system settings can be read with "System UI" but do not understand how: http://developer.blackberry.com/cascades/reference