public String makeURL(boolean weather, String ownloaction) {
	String URL="https://www.google.co.in/search?q=";
	
	//only for weather for perticular location
	if(weather==true && ownloaction!=null){
		URL+="current+temp+"+ownloaction;
	}
	
	//only for current location
	if(weather==false && ownloaction==null){
		URL+="current+location";
	}
	
	//only for weather for current location(bkz location not specified)
	if(weather==true && ownloaction==null){
		URL+="current+temp";
	}
	System.out.println("URL:"+URL);
	return URL;
}