Ok i have an application with 2 different languages (english and german), how to change them from my application?
When i click the Language button im using intent to com.android.settings.LocalePicker and from there i select the language.
So instead of that i want to select English and German options from dialog box.
I know how to create the dialog box, but don’t know how to change the locale.
Ok i have an application with 2 different languages (english and german), how to
Share
Application resources are fetched using the system local which isn’t changeable from within an application.
The system settings screen uses a class (ActivityManagerNative) which isn’t available via the SDK and thus can not be guaranteed to work between releases, and hence shouldn’t be used in your code.
So your options are;