http://www.desctrl.com/blog/2011/06/08/android-locale-get-current-language/
String locale = this.getResources().getConfiguration().locale.getDisplayName();
Log.v("desctrl", "Locale: " + locale);
locale = java.util.Locale.getDefault().getDisplayName();
Log.v("desctrl", "Locale 2: " + locale);
'Android' 카테고리의 다른 글
DexFile.class error in eclipse (0) | 2011.10.20 |
---|---|
MonkeyDevice waitForConnection (float timeout, string deviceId) (0) | 2011.10.13 |
dialog example (0) | 2011.09.21 |
animation 기초 (0) | 2011.09.07 |
keyboard 나타날때 UI를 위로 이동시키기 [커서 부분을 밀고 올라감] (0) | 2011.09.07 |