I need to configure the language . After checking "android Setting
Code", I used that code:
import android.app.ActivityManagerNative;
import android.app.IActivityManager;
Locale l = new Locale("zh", "CN");
IActivityManager am = ActivityManagerNative.getDefault();
Configuration config = am.getConfiguration();
config.locale = l;
config.userSetLocale = true;
am.updateConfiguration(config);
But , In Eclipse, it reported that
Description Resource Path Location Type
ActivityManagerNative cannot be resolved MainActivity.java
H3.Setup/
src/H3/Setup line 158 Java Problem
--
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