Hi I need to get a list of languages โโdefined on my Android device and would like to populate Spinner with the language code and language name. How can i do this?
Thanks in advance and hello s.
Just use Locale.getAvailableLocales () .
Using:
Resources.getSystem().getAssets().getLocales();
Source: https://habr.com/ru/post/1335432/More articles:How to get remote operating system version in .Net without WMI? - c #What are the options for displaying items in a list? - c #Tab controls (tab control) that do not appear are displayed Visible = false - .netHow to choose FK as the names and values โโof the headers as a list of these values? - sqlPrinting CSS and page breaks - cssASP.NET MVC throws and processes an error from the controller - asp.net-mvcIs there a ui class on Android, like UINavigationController, on cocoa touch? - androidjQuery does not receive a call in all browsers - javascriptRuby on Rails Error - ruby-on-railsDrupal WYSIWYG using the CKEditor vs CKEditor module - drupalAll Articles