Code example for Location

Methods: getAccuracygetAltitudegetLatitudegetLongitudegetSpeed

0
		return false; 
	} 
 
	public static void logMainInterface(Location location, int unsentPointCount, boolean loggedIn, boolean tracking) {
		log(" ___________________________ "); 
		log(String.format("  Latitude%17.5f  ", location.getLatitude()));
		log(String.format("  Longitude%16.5f  ", location.getLongitude()));
		log(String.format("  Speed%16.1fkm/h  ", location.getSpeed()));
		log(String.format("  Altitude%16.1fm  ", location.getAltitude()));
		log(String.format("  Accuracy%16.1fm  ", location.getAccuracy()));
		log(String.format("  Points In Queue%10d  ", unsentPointCount));
		log(loggedIn ? "  Account   (not logged in)  " : "  Account       (logged in)  ");
		log(tracking ? "        Stop Tracking        " : "       Start Tracking        ");
		log(" --------------------------- "); 
	} 
 
	public static void logo() { 
		log("++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++#@@@@@@@@@++++++++++++++++++++++++++++++++++++++++@@@@@#++++++++++"); 
		log("++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++@@@@@@@@@@@+++++++++++++++++++++++++++++++++++++#@@@@@@@@+++++++++"); 
		log("++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++@@;,,,,,@@@+++++++++++++++++++++++++++++++++++++@@@@'+@@@@++++++++"); 
		log("++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++@@,,,,,,@@@++++++++++++++++++++++++++++++++++++@@@,,,,,@@@++++++++");