Android - change device system locale programmatically -


i want change device locale (not application locale) app, user can in settings -> language & keyboard -> language.

can please explain how it? i've been searching hours , can not find way.

this app want want https://play.google.com/store/apps/details?id=org.gnvo.langpicker&hl=en

here source code https://code.google.com/p/languagepickerwidget/

here main logic http://bin-liu.blogspot.in/2012/05/how-to-change-system-locale-calling.html

edit

after 4.2 new jelly bean, protection level definition of change_configuration has been changed,so app not work above 4.2, solution http://droider.eu/2013/07/22/morelocale-2-not-working-on-4-2-2-without-su-or-pm/


Comments

Popular posts from this blog

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

javascript - Highcharts multi-color line -

javascript - Enter key does not work in search box -