2012-05-03 8 views

答えて

6

Locale.getDefault().toString() または context.getResources().getConfiguration().locale.getDisplayName()

両方が文字列

+0

@Chandaを返しますが:両方とも同じ文字列を返しますか?そうでない場合、違いは何ですか? – mrd

+0

'Locale.getDisplayName()'が 'Locale.getDisplayName(Locale.getDefault()) 'と同じであるため、Theは同じ文字列を返します。詳細はこちら: http://developer.android.com/reference/java/util/Locale.html –

+0

@CHanda tx、解決済み。 – mrd

関連する問題