public static int[] getIntArray(@ArrayRes final int arrayId, final int... fallback) {
        if (APPLICATION_CONTEXT == null) {
            return fallback == null ? new int[0] : fallback;
        }
        return APPLICATION_CONTEXT.getResources().getIntArray(arrayId);
    }
A set of static helper methods supporting localization/internationalization
especially in areas where Code has no activity available to get a context from.
<br>
All methods work also in unit-test environments (where there is no available context
main/src/main/java/cgeo/geocaching/utils/LocalizationUtils.java