Here you can find the source of isVictoriaAddress(Address address)
public static boolean isVictoriaAddress(Address address)
//package com.java2s; import android.location.Address; public class Main { public static boolean isVictoriaAddress(Address address) { boolean ret = false; if (address != null) { String countryCode = address.getCountryCode(); String adminArea = address.getAdminArea(); String postalCode = address.getPostalCode(); if (countryCode != null && adminArea != null && postalCode != null && postalCode.length() != 0) { if (countryCode.equals("AU") && adminArea.equals("Victoria")) { ret = true;//from www. j av a2 s. c om } } } return ret; } }