Detect ui language in htc sense on android
I want to give the users of my app content in the same开发者_JAVA百科 language as their ui interface. So if someone who has HTC Sense has their ui interface in Norwegian, they should get Norwegian content. However, while HTC Sense has Norwegian UI android does not include the norwegian locale, so the android sdk seems to not use the values-no/strings.xml file. How can I fix this? Basically I want the app to use the resources associated with the ui language of the phone.
I over heard something lately, but this is vague and I don't know if you can at all use for your situation.
I heard that whenever you do some change in the Settings a Broadcast is issued, probably you can subscribe to that and get notified when the locale changed.
精彩评论