开发者

Get the default language of a BlackBerry device

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜