Code example for Time

Methods: setToNow, toString

0
		if (started == false)
		{ 
			ipc = new Ipc(context);
			llGPS = new mylocationlistener();
			Time newt;
			newt =  new Time();
			newt.setToNow();
			String s = newt.toString(); 
//			Log.d("webkey","start"+s); 
			try{ 
				locationManager.requestLocationUpdates(LocationManager.GPS_PROVIDER, 0, 0, llGPS);
				mylocationlistener llnetwork = new mylocationlistener();
				locationManager.requestLocationUpdates(LocationManager.NETWORK_PROVIDER, 0, 0, llnetwork);
				started = true;
//				Log.d("webkey","all ok with start"); 
			} 
			catch(Exception e){};
		} 
		 
		/* 
		GpsStatus status = null;