Hi, I have very similar problem, but still not successfully resolved.
In first activity during onCreate() I have this code

Resources res = activity.getResources();
DisplayMetrics dm = res.getDisplayMetrics();
Configuration conf = res.getConfiguration();

// want to set (force) czech language on english phone
Logger.i(TAG, "set CS lang");
Locale loca = new Locale("cs"); // cs_CZ not work too
// !!! THIS LINE DO CYCLE !!!
conf.locale = loca;
res.updateConfiguration(conf, dm);

as I commented in code, line 'conf.locale = loca;' cause repeating
whole creating and destroying cycle as wrote Nmix in first post. And
also I have to say, than this code worked perfectly until 2.0 SDK. Any
suggestion? I'm using this for ability to choose app language
different from system lang. Thank you very much ...

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to