开发者

Get the default language of a BlackBerry device

开发者 https://www.devze.com 2023-01-20 19:22 出处:网络
I want to get the lang开发者_如何转开发uage set by the user in the settings screen.I have checked the DeviceInfo class, but don\'t see anything.Use the function net.rim.device.api.i18n.Locale.getDefau

I want to get the lang开发者_如何转开发uage set by the user in the settings screen. I have checked the DeviceInfo class, but don't see anything.


Use the function net.rim.device.api.i18n.Locale.getDefaultForSystem() to return the current locale in use, and to get the human representation of the language for that locale, use net.rim.device.api.i18n.Locale.getDisplayLanguage().

0

精彩评论

暂无评论...
验证码 换一张
取 消