Code example for ScheduledExecutorService

Methods: shutdown

0
	 
	@Override 
	public void onDestroy() { 
		super.onDestroy(); 
		//schedulerHandle.cancel(false); 
		scheduler.shutdown();
		Log.d("Datalogger", "Service destroyed!");
	} 
 
}