Code example for Locale

Methods: toString

0
			throw new IllegalArgumentException("one argument language is required");
		} 
				 
		// Use the TiConvert methods to get the values from the arguments 
		String language = TiConvert.toString(args[kArgLanguage]);		
		currentLocale= new Locale(language);
		CommonHelpers.DebugLog("Locale is now " + currentLocale.toString());
	} 
	@Kroll.method 
	public boolean isSupported(){		 
		return CommonHelpers.reverseGeoSupported(); 
	} 
 
 
	@Kroll.method 
	public void forwardGeocoderResultsLimit(Object[] args)
	{ 
		ForwardResultsLimit = (args[0] != null) ? TiConvert.toInt(args[0]) : 1;
	} 
	@Kroll.method 
	public void forwardGeocoder(Object[] args)