This section shows you how to set the default locale. Example presented in the section, illustrates you how to get and set the default locale.
Following API has been used in the program:
Above method returns the default locale in installed all locales.
Above method sets the locale for the default setting. This method takes a locale as a parameter for the method to set it as a default locale.
Here is the code of the program:
If you enjoyed this post then why not add us on Google+? Add us to your Circles
Liked it! Share this Tutorial