i am using the following code in my onConfigurationChange mehtod of MainActivity
Locale locale = new Locale(getDefault().getLanguage());
Locale.setDefault(locale);
Configuration config = new Configuration();
config.locale = locale;
getApplicationContext().getResources().updateConfiguration(config, null);
And when user selects a different language through Settings the onConfigurationChange method is called but language does not change though other activities opened after MainActivity have the language changed.
My MainActivity is the Activity which remains open throughout the app session
The only way i am able to change language is when the MainAcitivity calls onCreate method but i dont want that as i hav my bluetooth pairing enabled in MainActivity which connects to other bluetooth device whenever onCreate is called i.e only once throughout the app session.