Java tutorial
//package com.java2s; import android.content.Context; import java.util.Locale; public class Main { public static String getCountry(Context context) { Locale locale = context.getResources().getConfiguration().locale; String country = locale.getDisplayCountry(); return country; } }