In my project, I want to change the language,so I call the class:
com.android.settings.LocalePicker. My codes are as follows:
                                Intent intent = new Intent(Intent.ACTION_MAIN);
                                intent.setClassName("com.android.settings",
"com.android.settings.LocalePicker");
                                startActivity(intent);
But I caught an exception ( on Android 4.0.x Platform):

AndroidRuntime(10354): android.content.ActivityNotFoundException:
Unable to find explicit activity class {com.android.settings/
com.android.settings.LocalePicker}; have you declared this activity in
your AndroidManifest.xml?

So I want to know, didn't Android 4.0 have the class----
com.android.settings.LocalePicker ?
Instead, how should I do?
Thanks for helping me.

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

Reply via email to